diff options
-rw-r--r-- | login-utils/wall.1 | 3 | ||||
-rw-r--r-- | login-utils/wall.c | 1 |
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; |