diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-06 05:23:09 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2010-06-06 05:23:09 +0200 |
commit | f2177abe1d1da0f845147e29f5565a53d9cba09d (patch) | |
tree | c6b30f60bf47407d164d690fff3f377d170a538d | |
parent | 161bb8fa124a9bd3f39579123e347a04d428d25b (diff) | |
download | busybox-w32-f2177abe1d1da0f845147e29f5565a53d9cba09d.tar.gz busybox-w32-f2177abe1d1da0f845147e29f5565a53d9cba09d.tar.bz2 busybox-w32-f2177abe1d1da0f845147e29f5565a53d9cba09d.zip |
yes: this applet doesn't have options, don't lie that it does.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | coreutils/yes.c | 5 | ||||
-rw-r--r-- | include/usage.src.h | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/coreutils/yes.c b/coreutils/yes.c index d757a4504..ead674b27 100644 --- a/coreutils/yes.c +++ b/coreutils/yes.c | |||
@@ -18,6 +18,11 @@ | |||
18 | 18 | ||
19 | /* This is a NOFORK applet. Be very careful! */ | 19 | /* This is a NOFORK applet. Be very careful! */ |
20 | 20 | ||
21 | //usage:#define yes_trivial_usage | ||
22 | //usage: "[STRING]" | ||
23 | //usage:#define yes_full_usage "\n\n" | ||
24 | //usage: "Repeatedly output a line with STRING, or 'y'" | ||
25 | |||
21 | int yes_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 26 | int yes_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
22 | int yes_main(int argc UNUSED_PARAM, char **argv) | 27 | int yes_main(int argc UNUSED_PARAM, char **argv) |
23 | { | 28 | { |
diff --git a/include/usage.src.h b/include/usage.src.h index 78c0a0f1c..f9f457871 100644 --- a/include/usage.src.h +++ b/include/usage.src.h | |||
@@ -5236,11 +5236,6 @@ INSERT | |||
5236 | "$ ls | xargs gzip\n" \ | 5236 | "$ ls | xargs gzip\n" \ |
5237 | "$ find . -name '*.c' -print | xargs rm\n" | 5237 | "$ find . -name '*.c' -print | xargs rm\n" |
5238 | 5238 | ||
5239 | #define yes_trivial_usage \ | ||
5240 | "[OPTIONS] [STRING]" | ||
5241 | #define yes_full_usage "\n\n" \ | ||
5242 | "Repeatedly output a line with STRING, or 'y'" | ||
5243 | |||
5244 | #define zcat_trivial_usage \ | 5239 | #define zcat_trivial_usage \ |
5245 | "FILE" | 5240 | "FILE" |
5246 | #define zcat_full_usage "\n\n" \ | 5241 | #define zcat_full_usage "\n\n" \ |