summaryrefslogtreecommitdiff
path: root/src/who.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/who.c
parent2c74d574d332e54fef1ee8fbf3feee4cbf56e78c (diff)
downloadcoreutils-635b1b5b6e5c7339a295f6a84b972f048f50fec2.tar.xz
(usage): Add one- and two-line descriptions to --help output.
From Karl.
Diffstat (limited to 'src/who.c')
-rw-r--r--src/who.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/who.c b/src/who.c
index 659b848ac..d10d014ea 100644
--- a/src/who.c
+++ b/src/who.c
@@ -544,12 +544,11 @@ usage (status)
{
printf ("Usage: %s [OPTION]... [ FILE ]\n", program_name);
printf ("\
+Output who is currently logged in according to FILE.\n\
+If FILE not given, uses /etc/utmp. /etc/wtmp as FILE is common.\n\
\n\
--help display this help and exit\n\
- --version output version information and exit\n\
-\n\
-If FILE not given, uses /etc/utmp. /etc/wtmp as FILE is common.\n\
-");
+ --version output version information and exit\n");
}
exit (status);
}