summaryrefslogtreecommitdiff
path: root/src/who.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/who.c')
-rw-r--r--src/who.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/who.c b/src/who.c
index 8b122c85b..f01da1b09 100644
--- a/src/who.c
+++ b/src/who.c
@@ -462,17 +462,13 @@ static void
usage (status)
int status;
{
- fprintf (status == 0 ? stdout : stderr, "\
-Usage: %s [OPTION]... [ FILE | ARG1 ARG2 ]\n\
-",
- program_name);
-
if (status != 0)
fprintf (stderr, "Try `%s --help' for more information.\n",
program_name);
else
-
- printf ("\
+ {
+ printf ("Usage: %s [OPTION]... [ FILE | ARG1 ARG2 ]\n", program_name);
+ printf ("\
\n\
-H, --heading print line of column headings\n\
-T, -w, --mesg add user's message status as +, - or ?\n\
@@ -488,6 +484,6 @@ Usage: %s [OPTION]... [ FILE | ARG1 ARG2 ]\n\
If FILE not given, uses /etc/utmp. /etc/wtmp as FILE is common.\n\
If ARG1 ARG2 given, -m presumed: `am i' or `mom likes' are usual.\n\
");
-
+ }
exit (status);
}