aboutsummaryrefslogtreecommitdiff
path: root/yes.c
diff options
context:
space:
mode:
Diffstat (limited to 'yes.c')
-rw-r--r--yes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/yes.c b/yes.c
index 97b6f653c..1718af4bb 100644
--- a/yes.c
+++ b/yes.c
@@ -27,7 +27,7 @@ extern int yes_main(int argc, char **argv)
27{ 27{
28 int i; 28 int i;
29 29
30 if (argc >=1 && *argv[1]=='-') { 30 if (argc >= 2 && *argv[1] == '-') {
31 usage("yes [OPTION]... [STRING]...\n" 31 usage("yes [OPTION]... [STRING]...\n"
32#ifndef BB_FEATURE_TRIVIAL_HELP 32#ifndef BB_FEATURE_TRIVIAL_HELP
33 "\nRepeatedly outputs a line with all specified STRING(s), or `y'.\n" 33 "\nRepeatedly outputs a line with all specified STRING(s), or `y'.\n"