]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(usage): Add a separate usage line, just for `OPTION'.
authorJim Meyering <jim@meyering.net>
Fri, 29 Sep 2000 21:40:38 +0000 (21:40 +0000)
committerJim Meyering <jim@meyering.net>
Fri, 29 Sep 2000 21:40:38 +0000 (21:40 +0000)
src/yes.c

index 59aa17b8e880dc4d0c1e92ff8c64e38ca5c42f75..b2326542720883fadeada406d8ea424080076836 100644 (file)
--- a/src/yes.c
+++ b/src/yes.c
@@ -46,7 +46,12 @@ usage (int status)
             program_name);
   else
     {
-      printf (_("Usage: %s [OPTION]... [STRING]...\n"), program_name);
+      printf (_("\
+Usage: %s [STRING]...\n\
+  or:  %s OPTION\n\
+"),
+             program_name, program_name);
+
       printf (_("\
 Repeatedly output a line with all specified STRING(s), or `y'.\n\
 \n\