summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2014-02-16 10:36:41 +0000
committerschwarze <schwarze@openbsd.org>2014-02-16 10:36:41 +0000
commit5434b373ef46226c35c3a62281de89aaae22e11b (patch)
treeb635001865ab10e8b7d9ffaa90e8d83f94c6c240
parentmalcolm macdougall, not dacdougall; (diff)
downloadwireguard-openbsd-5434b373ef46226c35c3a62281de89aaae22e11b.tar.xz
wireguard-openbsd-5434b373ef46226c35c3a62281de89aaae22e11b.zip
* 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@
-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