summaryrefslogtreecommitdiff
path: root/src/who-users.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-11-23 22:16:19 +0000
committerJim Meyering <jim@meyering.net>1996-11-23 22:16:19 +0000
commitfa9f16326a749849cc4b08ca12df6d04f83c0127 (patch)
treeee9e32e20f7e5bcb55df51e5a853abdf77918981 /src/who-users.c
parentc13ff9b8bc17930a74f3147e6db1efdc5f9108b2 (diff)
downloadcoreutils-fa9f16326a749849cc4b08ca12df6d04f83c0127.tar.xz
(usage): Alphabetize option descriptions the way sort -f would.
Diffstat (limited to 'src/who-users.c')
-rw-r--r--src/who-users.c16
1 files changed, 4 insertions, 12 deletions
diff --git a/src/who-users.c b/src/who-users.c
index 3a54ffea9..50c0a6bde 100644
--- a/src/who-users.c
+++ b/src/who-users.c
@@ -22,15 +22,7 @@
state: -T
name, line, time: not -q
idle: -u
-
- Options:
- -m Same as 'who am i', for POSIX.
- -q Only user names and # logged on; overrides all other options.
- -s Name, line, time (default).
- -i, -u Idle hours and minutes; '.' means active in last minute;
- 'old' means idle for >24 hours.
- -H Print column headings at top.
- -w, -T -s plus mesg (+ or -, or ? if bad line). */
+*/
#include <config.h>
#include <stdio.h>
@@ -637,15 +629,15 @@ usage (int status)
printf (_("\
\n\
-H, --heading print line of column headings\n\
- -T, -w, --mesg add user's message status as +, - or ?\n\
-i, -u, --idle add user idle time as HOURS:MINUTES, . or old\n\
-m only hostname and user associated with stdin\n\
-q, --count all login names and number of users logged on\n\
-s (ignored)\n\
- --help display this help and exit\n\
+ -T, -w, --mesg add user's message status as +, - or ?\n\
--message same as -T\n\
- --version output version information and exit\n\
--writeable same as -T\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\
If ARG1 ARG2 given, -m presumed: `am i' or `mom likes' are usual.\n\