From: Davidlohr Bueso Date: Tue, 18 Jan 2011 14:04:32 +0000 (-0300) Subject: wall: document -n option X-Git-Tag: v2.19-rc2~20 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=01f1882176470261d100da95dcbf11d14781d5b5;p=thirdparty%2Futil-linux.git wall: document -n option Signed-off-by: Davidlohr Bueso --- diff --git a/login-utils/wall.1 b/login-utils/wall.1 index 1f85c40975..6a511d5930 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 03029e99d4..fc4d792c4d 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;