]> granicus.if.org Git - sudo/commitdiff
Use .Ar macro instead of "file ..."
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 15 Feb 2014 23:12:31 +0000 (16:12 -0700)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sat, 15 Feb 2014 23:12:31 +0000 (16:12 -0700)
Use ".Cm -" instead of ".Li -" for the default login class.
From Ingo Schwarze.

doc/sudo.cat
doc/sudo.man.in
doc/sudo.mdoc.in

index 82b361924af307153a16866d20c05689b023fd2c..4af4179bab7e1bfafcab9751c7f1de5e069bc893 100644 (file)
@@ -12,7 +12,7 @@ S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
           [-\b-p\bp _\bp_\br_\bo_\bm_\bp_\bt] [-\b-r\br _\br_\bo_\bl_\be] [-\b-t\bt _\bt_\by_\bp_\be] [-\b-u\bu _\bu_\bs_\be_\br] [_\bV_\bA_\bR=_\bv_\ba_\bl_\bu_\be] [-\b-i\bi | -\b-s\bs]
           [_\bc_\bo_\bm_\bm_\ba_\bn_\bd]
      s\bsu\bud\bdo\boe\bed\bdi\bit\bt [-\b-A\bAk\bkn\bnS\bS] [-\b-a\ba _\bt_\by_\bp_\be] [-\b-C\bC _\bn_\bu_\bm] [-\b-c\bc _\bc_\bl_\ba_\bs_\bs] [-\b-g\bg _\bg_\br_\bo_\bu_\bp] [-\b-h\bh _\bh_\bo_\bs_\bt]
-              [-\b-p\bp _\bp_\br_\bo_\bm_\bp_\bt] [-\b-u\bu _\bu_\bs_\be_\br] file ...
+              [-\b-p\bp _\bp_\br_\bo_\bm_\bp_\bt] [-\b-u\bu _\bu_\bs_\be_\br] _\bf_\bi_\bl_\be _\b._\b._\b.
 
 D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
      s\bsu\bud\bdo\bo allows a permitted user to execute a _\bc_\bo_\bm_\bm_\ba_\bn_\bd as the superuser or
@@ -90,7 +90,7 @@ D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
                  Run the command with resource limits and scheduling priority
                  of the specified login _\bc_\bl_\ba_\bs_\bs.  The _\bc_\bl_\ba_\bs_\bs argument can be
                  either a class name as defined in _\b/_\be_\bt_\bc_\b/_\bl_\bo_\bg_\bi_\bn_\b._\bc_\bo_\bn_\bf, or a
-                 single `-' character.  If _\bc_\bl_\ba_\bs_\bs is -, the default login class
+                 single `-' character.  If _\bc_\bl_\ba_\bs_\bs is -\b-, the default login class
                  of the target user will be used.  Otherwise, the command must
                  be run as the superuser (user ID 0), or s\bsu\bud\bdo\bo must be run from
                  a shell that is already running as the superuser.  If the
index ce1b7942fd5c76f568a65c52722ff1264ec33ab5..fbd4136fe91eedc42ecb8fec74292c622adb7a49 100644 (file)
@@ -81,7 +81,7 @@
 [\fB\-h\fR\ \fIhost\fR]
 [\fB\-p\fR\ \fIprompt\fR]
 [\fB\-u\fR\ \fIuser\fR]
-file ...
+\fIfile\ ...\fR
 .PD
 .SH "DESCRIPTION"
 \fBsudo\fR
@@ -236,7 +236,7 @@ character.
 If
 \fIclass\fR
 is
-\fR-\fR,
+\fB-\fR,
 the default login class of the target user will be used.
 Otherwise, the command must be run as the superuser (user ID 0), or
 \fBsudo\fR
index 667080cd0b66a7dfd5c0fdc8abf2955c40d17126..28ba8e0dab0aff3b04ec1ca6e211b139bd93da6e 100644 (file)
@@ -70,7 +70,7 @@
 .Op Fl h Ar host
 .Op Fl p Ar prompt
 .Op Fl u Ar user
-file ...
+.Ar
 .Sh DESCRIPTION
 .Nm sudo
 allows a permitted user to execute a
@@ -215,7 +215,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