Cool. Beppu is doing uniq.
authorErik Andersen <andersen@codepoet.org>
Thu, 6 Jan 2000 01:14:56 +0000 (01:14 -0000)
committerErik Andersen <andersen@codepoet.org>
Thu, 6 Jan 2000 01:14:56 +0000 (01:14 -0000)
 -Erik

coreutils/uniq.c
uniq.c

index 7e78be3..251cf2d 100644 (file)
@@ -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 $ */
diff --git a/uniq.c b/uniq.c
index 7e78be3..251cf2d 100644 (file)
--- a/uniq.c
+++ b/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 $ */