summaryrefslogtreecommitdiff
path: root/src/uname.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-05-15 04:53:56 +0000
committerJim Meyering <jim@meyering.net>1995-05-15 04:53:56 +0000
commit635b1b5b6e5c7339a295f6a84b972f048f50fec2 (patch)
treef43677b8210510aa637d84c7a6342012120b3e7a /src/uname.c
parent2c74d574d332e54fef1ee8fbf3feee4cbf56e78c (diff)
downloadcoreutils-635b1b5b6e5c7339a295f6a84b972f048f50fec2.tar.xz
(usage): Add one- and two-line descriptions to --help output.
From Karl.
Diffstat (limited to 'src/uname.c')
-rw-r--r--src/uname.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/uname.c b/src/uname.c
index 4e55feebd..e1e9ed006 100644
--- a/src/uname.c
+++ b/src/uname.c
@@ -184,6 +184,7 @@ usage (status)
{
printf ("Usage: %s [OPTION]...\n", program_name);
printf ("\
+Print certain system information. With no OPTION, same as -s.\n\
\n\
-a, --all print all information\n\
-m, --machine print the machine (hardware) type\n\
@@ -192,10 +193,7 @@ usage (status)
-s, --sysname print the operating system name\n\
-v print the operating system version\n\
--help display this help and exit\n\
- --version output version information and exit\n\
-\n\
-Without any OPTION, assume -s.\n\
-");
+ --version output version information and exit\n");
}
exit (status);
}