summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@gnu.org>2011-01-18 11:04:32 -0300
committerKarel Zak <kzak@redhat.com>2011-01-23 22:19:35 +0100
commit01f1882176470261d100da95dcbf11d14781d5b5 (patch)
tree429e98456af1532fbacd8cb7d121114741cf31ff
parentd58c47d9a49805157ff0669afe02fa4f9d8adf78 (diff)
downloadutil-linux-old-01f1882176470261d100da95dcbf11d14781d5b5.tar.gz
wall: document -n option
Signed-off-by: Davidlohr Bueso <dave@gnu.org>
-rw-r--r--login-utils/wall.13
-rw-r--r--login-utils/wall.c1
2 files changed, 3 insertions, 1 deletions
diff --git a/login-utils/wall.1 b/login-utils/wall.1
index 1f85c409..6a511d59 100644
--- a/login-utils/wall.1
+++ b/login-utils/wall.1
@@ -41,6 +41,7 @@
.Nd write a message to users
.Sh SYNOPSIS
.Nm wall
+.Op Ar -n
.Op Ar file
.Sh DESCRIPTION
.Nm Wall
@@ -56,6 +57,8 @@ automatically denies messages.
.Pp
Reading from a file is refused when the invoker is not superuser
and the program is suid or sgid.
+.Sh OPTIONS
+ -n Supress banner
.Sh SEE ALSO
.Xr mesg 1 ,
.Xr talk 1 ,
diff --git a/login-utils/wall.c b/login-utils/wall.c
index 03029e99..fc4d792c 100644
--- a/login-utils/wall.c
+++ b/login-utils/wall.c
@@ -104,7 +104,6 @@ main(int argc, char **argv) {
while ((ch = getopt(argc, argv, "n")) != -1) {
switch (ch) {
case 'n':
- /* undoc option for shutdown: suppress banner */
if (geteuid() == 0)
nobanner = 1;
break;