diff options
-rw-r--r-- | coreutils/uniq.c | 5 | ||||
-rw-r--r-- | uniq.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/coreutils/uniq.c b/coreutils/uniq.c index 7e78be3..251cf2d 100644 --- a/coreutils/uniq.c +++ b/coreutils/uniq.c @@ -1,5 +1,5 @@ /* - * Mini sort implementation for busybox + * Mini uniq implementation for busybox * * * Copyright (C) 1999 by Lineo, inc. @@ -141,6 +141,7 @@ uniq_main(int argc, char **argv) if (argv[i][0] == '-') { opt = argv[i][1]; switch (opt) { + case '-': case 'h': usage(uniq_usage); default: @@ -154,4 +155,4 @@ uniq_main(int argc, char **argv) exit(0); } -/* $Id: uniq.c,v 1.1 2000/01/06 00:48:21 beppu Exp $ */ +/* $Id: uniq.c,v 1.2 2000/01/06 01:14:56 erik Exp $ */ @@ -1,5 +1,5 @@ /* - * Mini sort implementation for busybox + * Mini uniq implementation for busybox * * * Copyright (C) 1999 by Lineo, inc. @@ -141,6 +141,7 @@ uniq_main(int argc, char **argv) if (argv[i][0] == '-') { opt = argv[i][1]; switch (opt) { + case '-': case 'h': usage(uniq_usage); default: @@ -154,4 +155,4 @@ uniq_main(int argc, char **argv) exit(0); } -/* $Id: uniq.c,v 1.1 2000/01/06 00:48:21 beppu Exp $ */ +/* $Id: uniq.c,v 1.2 2000/01/06 01:14:56 erik Exp $ */ |