mesg: add long options to the man page

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2011-04-10 16:24:22 +02:00 committed by Karel Zak
parent fe16e12513
commit ea87bbf679
1 changed files with 10 additions and 1 deletions

View File

@ -41,6 +41,7 @@
mesg \- display (do not display) messages from other users mesg \- display (do not display) messages from other users
.SH SYNOPSIS .SH SYNOPSIS
.B mesg .B mesg
.RB [options]
.RB [ n | y ] .RB [ n | y ]
.SH DESCRIPTION .SH DESCRIPTION
The The
@ -60,13 +61,21 @@ sure your ttys are set the way you want them to be set,
.B mesg .B mesg
should be executed in your login scripts. should be executed in your login scripts.
.PP .PP
Options available: Available arguments:
.TP .TP
.B n .B n
Disallows messages. Disallows messages.
.TP .TP
.B y .B y
Permits messages to be displayed. Permits messages to be displayed.
.TP
Available options:
.TP
.B \-V, \-\-verbose
Output version information and exit.
.TP
.B \-h, \-\-help
Output help screen and exit.
.PP .PP
If no arguments are given, If no arguments are given,
.B mesg .B mesg