summaryrefslogtreecommitdiff
path: root/uniq.c
diff options
context:
space:
mode:
authorJohn Beppu2000-01-07 01:57:32 +0000
committerJohn Beppu2000-01-07 01:57:32 +0000
commit9d83165d9e36c61cf2fa49deee1bc14bd2d56c1d (patch)
tree05cd4442f3ac137593444a14a02007fc9c43995e /uniq.c
parent96f1f33e560295e0ef290d96ec2ca54a6ebee23e (diff)
downloadbusybox-9d83165d9e36c61cf2fa49deee1bc14bd2d56c1d.zip
busybox-9d83165d9e36c61cf2fa49deee1bc14bd2d56c1d.tar.gz
added uniq_usage message
Diffstat (limited to 'uniq.c')
-rw-r--r--uniq.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/uniq.c b/uniq.c
index 5f0e192..034ea31 100644
--- a/uniq.c
+++ b/uniq.c
@@ -27,7 +27,14 @@
#include <errno.h>
static const char uniq_usage[] =
-"haha\n"
+"Usage: uniq [OPTION]... [INPUT [OUTPUT]]\n"
+"Discard all but one of successive identical lines from INPUT (or\n"
+"standard input), writing to OUTPUT (or standard output).\n"
+"\n"
+"\t-h\tdisplay this help and exit\n"
+"\n"
+"A field is a run of whitespace, then non-whitespace characters.\n"
+"Fields are skipped before chars.\n"
;
/* max chars in line */
@@ -186,4 +193,4 @@ uniq_main(int argc, char **argv)
exit(0);
}
-/* $Id: uniq.c,v 1.3 2000/01/06 23:49:21 beppu Exp $ */
+/* $Id: uniq.c,v 1.4 2000/01/07 01:57:32 beppu Exp $ */