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:
parent
161bb8fa12
commit
f2177abe1d
@ -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)
|
||||
{
|
||||
|
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user