aboutsummaryrefslogtreecommitdiff
path: root/coreutils/yes.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-06-06 05:23:09 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-06-06 05:23:09 +0200
commitf2177abe1d1da0f845147e29f5565a53d9cba09d (patch)
treec6b30f60bf47407d164d690fff3f377d170a538d /coreutils/yes.c
parent161bb8fa124a9bd3f39579123e347a04d428d25b (diff)
downloadbusybox-f2177abe1d1da0f845147e29f5565a53d9cba09d.tar.gz
yes: this applet doesn't have options, don't lie that it does.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/yes.c')
-rw-r--r--coreutils/yes.c5
1 files changed, 5 insertions, 0 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 @@
/* This is a NOFORK applet. Be very careful! */
+//usage:#define yes_trivial_usage
+//usage: "[STRING]"
+//usage:#define yes_full_usage "\n\n"
+//usage: "Repeatedly output a line with STRING, or 'y'"
+
int yes_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE;
int yes_main(int argc UNUSED_PARAM, char **argv)
{