Document newly added -d option and fix usage string
This commit is contained in:
parent
1bb32253c5
commit
7860b557b8
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)w.1 8.1 (Berkeley) 6/6/93
|
||||
.\" $Id: w.1,v 1.6 1997/02/22 19:57:41 peter Exp $
|
||||
.\" $Id: w.1,v 1.7 1997/08/25 06:42:19 charnier Exp $
|
||||
.\"
|
||||
.Dd June 6, 1993
|
||||
.Dt W 1
|
||||
@ -40,7 +40,7 @@
|
||||
.Nd who present users are and what they are doing
|
||||
.Sh SYNOPSIS
|
||||
.Nm w
|
||||
.Op Fl hin
|
||||
.Op Fl dhin
|
||||
.Op Fl M Ar core
|
||||
.Op Fl N Ar system
|
||||
.Op Ar user
|
||||
@ -62,6 +62,9 @@ and the name and arguments of the current process.
|
||||
.Pp
|
||||
The options are as follows:
|
||||
.Bl -tag -width Ds
|
||||
.It Fl d
|
||||
dumps out the entire process list on a per controlling
|
||||
tty basis, instead of just the top level process.
|
||||
.It Fl h
|
||||
Suppress the heading.
|
||||
.It Fl i
|
||||
|
@ -42,7 +42,7 @@ static const char copyright[] =
|
||||
static char sccsid[] = "@(#)w.c 8.4 (Berkeley) 4/16/94";
|
||||
#endif
|
||||
static const char rcsid[] =
|
||||
"$Id: w.c,v 1.21 1997/08/25 06:42:19 charnier Exp $";
|
||||
"$Id: w.c,v 1.22 1997/09/12 02:22:21 ache Exp $";
|
||||
#endif /* not lint */
|
||||
|
||||
/*
|
||||
@ -484,7 +484,7 @@ usage(wcmd)
|
||||
{
|
||||
if (wcmd)
|
||||
(void)fprintf(stderr,
|
||||
"usage: w [-hin] [-M core] [-N system] [user]\n");
|
||||
"usage: w [-dhin] [-M core] [-N system] [user]\n");
|
||||
else
|
||||
(void)fprintf(stderr,
|
||||
"usage: uptime\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user