]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(usage): Correct --help message.
authorJim Meyering <jim@meyering.net>
Mon, 30 Aug 1999 14:37:40 +0000 (14:37 +0000)
committerJim Meyering <jim@meyering.net>
Mon, 30 Aug 1999 14:37:40 +0000 (14:37 +0000)
src/printenv.c

index 1ecfaf18994da02480570aeb9ddf7fa2548dfb67..5de1ff055c8de0105120b756484c779951781f72 100644 (file)
@@ -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);