From daea06353d296eac62e185d352e527cc26f7955d Mon Sep 17 00:00:00 2001
From: erik <erik@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Date: Thu, 6 Jan 2000 01:14:56 +0000
Subject: Cool.  Beppu is doing uniq.  -Erik

git-svn-id: svn://busybox.net/trunk/busybox@281 69ca8d6d-28ef-0310-b511-8ec308f3f277
---
 coreutils/uniq.c | 5 +++--
 uniq.c           | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/coreutils/uniq.c b/coreutils/uniq.c
index 7e78be390..251cf2dec 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 $ */
diff --git a/uniq.c b/uniq.c
index 7e78be390..251cf2dec 100644
--- 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 $ */
-- 
cgit v1.2.3-55-g6feb