aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-01-06 01:14:56 +0000
committerErik Andersen <andersen@codepoet.org>2000-01-06 01:14:56 +0000
commit0b874ed41f4bd7bec609541e2883d8ad4933c680 (patch)
tree0ba2aae5bd583c7caeaa6a26debba563ad4ef4f4
parentabb4772b2821ac113f4748e376ea35770ecaae08 (diff)
downloadbusybox-0b874ed41f4bd7bec609541e2883d8ad4933c680.tar.gz
Cool. Beppu is doing uniq.
-Erik
-rw-r--r--coreutils/uniq.c5
-rw-r--r--uniq.c5
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 $ */