Command-line option "-f" is not implemented
This commit is contained in:
parent
3b0d2849f9
commit
b25ac91bc8
|
@ -159,7 +159,6 @@ int main(int argc, char * argv[])
|
||||||
int o;
|
int o;
|
||||||
|
|
||||||
while((o = getopt(argc, argv, "cduf:s:")) != -1)
|
while((o = getopt(argc, argv, "cduf:s:")) != -1)
|
||||||
{
|
|
||||||
switch(o)
|
switch(o)
|
||||||
{
|
{
|
||||||
case 'c':
|
case 'c':
|
||||||
|
@ -177,13 +176,10 @@ int main(int argc, char * argv[])
|
||||||
opts |= OPTS_u;
|
opts |= OPTS_u;
|
||||||
break;
|
break;
|
||||||
case 'f':
|
case 'f':
|
||||||
fprintf(stderr, "%s%c%s", "uniq: -", o,
|
/* FIXME */
|
||||||
": Not implemented yet\n");
|
|
||||||
return _usage();
|
|
||||||
default:
|
default:
|
||||||
return _usage();
|
return _usage();
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if(argc - optind >= 1)
|
if(argc - optind >= 1)
|
||||||
{
|
{
|
||||||
in = argv[optind];
|
in = argv[optind];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user