summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2014-02-16 10:36:42 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2014-02-16 10:36:42 +0000
commit98d08516ac58b143885b44ed3da630ce3287bec1 (patch)
tree4fe779fe465704ab90c7b309d61fc8538c56b0d3 /usr.bin
parent21dca1bd3cf7f5ff271ad4e4a4c99fa5ee1d959e (diff)
* simplify the documentation of -l as suggested by millert@
* the `-' arg to -c is a fixed string for the cmd line, so use .Cm ok millert@
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/sudo/sudo.mdoc.in20
1 files changed, 7 insertions, 13 deletions
diff --git a/usr.bin/sudo/sudo.mdoc.in b/usr.bin/sudo/sudo.mdoc.in
index a262af7e6cb..b55bf82a2fd 100644
--- a/usr.bin/sudo/sudo.mdoc.in
+++ b/usr.bin/sudo/sudo.mdoc.in
@@ -19,7 +19,7 @@
.\" Agency (DARPA) and Air Force Research Laboratory, Air Force
.\" Materiel Command, USAF, under agreement number F39502-99-1-0512.
.\"
-.Dd $Mdocdate: February 15 2014 $
+.Dd $Mdocdate: February 16 2014 $
.Dt SUDO @mansectsu@
.Os
.Sh NAME
@@ -37,7 +37,7 @@
.Op Fl p Ar prompt
.Op Fl u Ar user name | #uid
.Nm sudo
-.Fl l Ns Op Ar l
+.Fl l
.Op Fl AknS
.Op Fl a Ar auth_type
.Op Fl g Ar group name | #gid
@@ -49,7 +49,7 @@
.Op Fl AbEHnPS
.Op Fl a Ar auth_type
.Op Fl C Ar fd
-.Op Fl c Ar class | -
+.Op Fl c Ar class | Cm -
.Op Fl g Ar group name | #gid
.Op Fl p Ar prompt
.Op Fl u Ar user name | #uid
@@ -60,7 +60,7 @@
.Op Fl AnS
.Op Fl a Ar auth_type
.Op Fl C Ar fd
-.Op Fl c Ar class | -
+.Op Fl c Ar class | Cm -
.Op Fl g Ar group name | #gid
.Op Fl p Ar prompt
.Op Fl u Ar user name | #uid
@@ -184,7 +184,7 @@ character.
If
.Ar class
is
-.Li - ,
+.Cm - ,
the default login class of the target user will be used.
Otherwise, the command must be run as the superuser (user ID 0), or
.Nm sudo
@@ -381,7 +381,7 @@ may be set in a
line along with a short description for each.
This option will be removed from a future version of
.Nm sudo .
-.It Fl l Ns Oo Sy l Oc Op Ar command
+.It Fl l Op Ar command
If no
.Ar command
is specified, the
@@ -402,13 +402,7 @@ If
is specified but not allowed,
.Nm sudo
will exit with a status value of 1.
-If the
-.Fl l
-option is specified with an
-.Ar l
-argument
-.Pq i.e.\& Fl ll ,
-or if
+If
.Fl l
is specified multiple times, a longer list format is used.
.It Fl n