summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1997-09-12 02:26:12 +0000
committerache <ache@FreeBSD.org>1997-09-12 02:26:12 +0000
commit684eb8f09fa41c4958e6a3d90f03c981eb458e0b (patch)
tree769f88f6482a142351520a29dfec8bcc3f8d223e /usr.bin
parent0357dcdb999675bbb8c47200eecd74b1886c3e15 (diff)
downloadFreeBSD-src-684eb8f09fa41c4958e6a3d90f03c981eb458e0b.zip
FreeBSD-src-684eb8f09fa41c4958e6a3d90f03c981eb458e0b.tar.gz
Document newly added -d option and fix usage string
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/w/w.17
-rw-r--r--usr.bin/w/w.c4
2 files changed, 7 insertions, 4 deletions
diff --git a/usr.bin/w/w.1 b/usr.bin/w/w.1
index 64c5b60..83508df 100644
--- a/usr.bin/w/w.1
+++ b/usr.bin/w/w.1
@@ -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
diff --git a/usr.bin/w/w.c b/usr.bin/w/w.c
index 61de1ef..6313786 100644
--- a/usr.bin/w/w.c
+++ b/usr.bin/w/w.c
@@ -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");
OpenPOWER on IntegriCloud