summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-09-29 21:40:38 +0000
committerJim Meyering <jim@meyering.net>2000-09-29 21:40:38 +0000
commit55b181511cc7f22b1b2c58b197b35790e2082da4 (patch)
tree7de776c766d717bf95a823e36d96880a3af2a55a /src
parent6ce74d5d3661c44faeea938939280de5c6b33c12 (diff)
downloadcoreutils-55b181511cc7f22b1b2c58b197b35790e2082da4.tar.xz
(usage): Add a separate usage line, just for `OPTION'.
Diffstat (limited to 'src')
-rw-r--r--src/yes.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/yes.c b/src/yes.c
index 59aa17b8e..b23265427 100644
--- 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\