From 01f1882176470261d100da95dcbf11d14781d5b5 Mon Sep 17 00:00:00 2001 From: Davidlohr Bueso Date: Tue, 18 Jan 2011 11:04:32 -0300 Subject: [PATCH] wall: document -n option Signed-off-by: Davidlohr Bueso --- login-utils/wall.1 | 3 +++ login-utils/wall.c | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) 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; -- 2.39.5