aboutsummaryrefslogtreecommitdiff
path: root/applets/usage.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-12-09 16:37:53 +0000
committerEric Andersen <andersen@codepoet.org>2000-12-09 16:37:53 +0000
commit5b5db38a7df20c8196e6a737cb2c76b219e152cc (patch)
treedcf75d601711f5c3b7ccf036ba80b7fcc71fc338 /applets/usage.c
parent1bca5ed886322f49fddd4b05ca76fd3a1906d98b (diff)
downloadbusybox-5b5db38a7df20c8196e6a737cb2c76b219e152cc.tar.gz
Patch from Matt Kraai to implement uniq -[cdu]
Diffstat (limited to 'applets/usage.c')
-rw-r--r--applets/usage.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/applets/usage.c b/applets/usage.c
index 75c421a09..ae6cec8df 100644
--- a/applets/usage.c
+++ b/applets/usage.c
@@ -1365,6 +1365,10 @@ const char uniq_usage[] =
#ifndef BB_FEATURE_TRIVIAL_HELP
"\nDiscard all but one of successive identical lines from INPUT\n"
"(or standard input), writing to OUTPUT (or standard output).\n"
+ "Options:\n"
+ "\t-c\tprefix lines by the number of occurrences\n"
+ "\t-d\tonly print duplicate lines\n"
+ "\t-u\tonly print unique lines\n"
#endif
;
#endif