[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1164: who --help uses /etc/{w,u}tmp



Package: shellutils
Version: 1.12-3

The output of `who --help` references /etc/utmp and /etc/wtmp.
This should be changed to reflect the actual locations:
/var/log/wtmp and /var/log/utmp


bash$ who --version
who - GNU sh-utils 1.12

bash$ who --help
Usage: who [OPTION]... [ FILE | ARG1 ARG2 ]

  -H, --heading     print line of column headings
  -T, -w, --mesg    add user's message status as +, - or ?
  -i, -u, --idle    add user idle time as HOURS:MINUTES, . or old
  -m                only hostname and user associated with stdin
  -q, --count       all login names and number of users logged on
  -s                (ignored)
      --help        display this help and exit
      --message     same as -T
      --version     output version information and exit
      --writeable   same as -T
        ^^^^^^^^^
[Also, ispell says this should be "writable".]

If FILE not given, uses /etc/utmp.  /etc/wtmp as FILE is common.
If ARG1 ARG2 given, -m presumed: `am i' or `mom likes' are usual.

Chuck

--
Charles A. Stickelman				<stick@richnet.net>
						<chuck@cmhcsys.com>
--


Reply to: