summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1999-08-30 14:37:40 +0000
committerJim Meyering <jim@meyering.net>1999-08-30 14:37:40 +0000
commitccff4ede2b469a98a3247bb88665653b1f9983e9 (patch)
tree2f79305541f103c28d825c775c2379c362446153 /src
parent6f48cb192400c26d502078a4f3cdfea5c6a6b5f5 (diff)
downloadcoreutils-ccff4ede2b469a98a3247bb88665653b1f9983e9.tar.xz
(usage): Correct --help message.
Diffstat (limited to 'src')
-rw-r--r--src/printenv.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/printenv.c b/src/printenv.c
index 1ecfaf189..5de1ff055 100644
--- a/src/printenv.c
+++ b/src/printenv.c
@@ -60,12 +60,15 @@ usage (int status)
program_name);
else
{
- printf (_("Usage: %s [OPTION]... [VARIABLE]...\n"), program_name);
printf (_("\
+Usage: %s [VARIABLE]...\n\
+ or: %s OPTION\n\
If no environment VARIABLE specified, print them all.\n\
\n\
--help display this help and exit\n\
- --version output version information and exit\n"));
+ --version output version information and exit\n\
+"),
+ program_name, program_name);
puts (_("\nReport bugs to <bug-sh-utils@gnu.org>."));
}
exit (status);