aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/wall/wall.1
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2001-03-01 05:43:12 +0000
committerWarner Losh <imp@FreeBSD.org>2001-03-01 05:43:12 +0000
commit6a20d55a591484ce93ad7002606c9ca4dbbd7ebb (patch)
tree8d6220693e80496b0fa54913fd1d6a004daf69e1 /usr.bin/wall/wall.1
parent45d80087483bd81f5ba69a7bbb3b5b5ba954d97c (diff)
downloadsrc-6a20d55a591484ce93ad7002606c9ca4dbbd7ebb.tar.gz
src-6a20d55a591484ce93ad7002606c9ca4dbbd7ebb.zip
o Add support for wall -g. This will send a message to all members of
a given group. o Minor code style cleanups while I'm here Reviewed by: bde, kris, markm, audit@
Notes
Notes: svn path=/head/; revision=73255
Diffstat (limited to 'usr.bin/wall/wall.1')
-rw-r--r--usr.bin/wall/wall.17
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.bin/wall/wall.1 b/usr.bin/wall/wall.1
index 1ba23d553a52..ff419794295a 100644
--- a/usr.bin/wall/wall.1
+++ b/usr.bin/wall/wall.1
@@ -40,6 +40,7 @@
.Nd write a message to users
.Sh SYNOPSIS
.Nm
+.Op Fl g Ar group
.Op Ar file
.Sh DESCRIPTION
.Nm Wall
@@ -52,6 +53,12 @@ Only the super-user can write on the
terminals of users who have chosen
to deny messages or are using a program which
automatically denies messages.
+.Bl -tag -width indent
+.It Fl g
+Send messages to users in this group. This option may be specified
+multiple times, and any user in any of the specified groups will
+receive the message.
+.El
.Sh SEE ALSO
.Xr mesg 1 ,
.Xr talk 1 ,