This commit is an outgrowth of the research into a bug
involving the recently added enum 'PROCPS_PIDS_extra'.
Since this program is not equipped to filter more than
one user, the help text and man document were updated.
Signed-off-by: Jim Warner <james.warner@comcast.net>
.\" -*-Nroff-*-
.\"
-.TH W "1" "May 2012" "procps-ng" "User Commands"
+.TH W "1" "September 2015" "procps-ng" "User Commands"
.SH NAME
w \- Show who is logged on and what they are doing.
.SH SYNOPSIS
.B w
-[\fIoptions\fR] \fIuser\fR [...]
+[\fIoptions\fR] [\fIuser\fR]
.SH DESCRIPTION
.B w
displays information about the users currently on the machine, and their
{
fputs(USAGE_HEADER, out);
fprintf(out,
- _(" %s [options]\n"), program_invocation_short_name);
+ _(" %s [options] [user]\n"), program_invocation_short_name);
fputs(USAGE_OPTIONS, out);
fputs(_(" -h, --no-header do not print header\n"),out);
fputs(_(" -u, --no-current ignore current process username\n"),out);