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

index eec81fef0083f58be8790c5915bad9c24b7d2156..607ccaa38953990a2a00c4032dbce4fa4565bcf2 100644 (file)
@@ -45,14 +45,16 @@ usage (int status)
             program_name);
   else
     {
-      printf (_("Usage: %s\n"), program_name);
       printf (_("\
+Usage: %s\n\
+  or:  %s OPTION\n\
 Print the numeric identifier (in hexadecimal) for the current host.\n\
 \n\
       --help       display this help and exit\n\
       --version    output version information and exit\n\
 \n\
-"));
+"),
+             program_name, program_name);
       puts (_("\nReport bugs to <bug-sh-utils@gnu.org>."));
     }
   exit (status);