yes: this applet doesn't have options, don't lie that it does.

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2010-06-06 05:23:09 +02:00
parent 161bb8fa12
commit f2177abe1d
2 changed files with 5 additions and 5 deletions

View File

@ -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)
{

View File

@ -5236,11 +5236,6 @@ INSERT
"$ ls | xargs gzip\n" \
"$ find . -name '*.c' -print | xargs rm\n"
#define yes_trivial_usage \
"[OPTIONS] [STRING]"
#define yes_full_usage "\n\n" \
"Repeatedly output a line with STRING, or 'y'"
#define zcat_trivial_usage \
"FILE"
#define zcat_full_usage "\n\n" \