summaryrefslogtreecommitdiff
path: root/src/whoami.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/whoami.c
parent2c74d574d332e54fef1ee8fbf3feee4cbf56e78c (diff)
downloadcoreutils-635b1b5b6e5c7339a295f6a84b972f048f50fec2.tar.xz
(usage): Add one- and two-line descriptions to --help output.
From Karl.
Diffstat (limited to 'src/whoami.c')
-rw-r--r--src/whoami.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/whoami.c b/src/whoami.c
index c2f25f0e8..0b4847993 100644
--- a/src/whoami.c
+++ b/src/whoami.c
@@ -54,12 +54,11 @@ usage (status)
{
printf ("Usage: %s [OPTION]...\n", program_name);
printf ("\
+Print the user name associated with the current effective user id.\n\
+Same as id -un.\n\
\n\
--help display this help and exit\n\
- --version output version information and exit\n\
-\n\
-Same as id -un.\n\
-");
+ --version output version information and exit\n");
}
exit (status);
}