From a61935c2b926667d0d927e5ea4aaab9451a42a07 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 15 Feb 2014 16:12:31 -0700 Subject: [PATCH] Use .Ar macro instead of "file ..." Use ".Cm -" instead of ".Li -" for the default login class. From Ingo Schwarze. --- doc/sudo.cat | 4 ++-- doc/sudo.man.in | 4 ++-- doc/sudo.mdoc.in | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/sudo.cat b/doc/sudo.cat index 82b361924..4af4179ba 100644 --- a/doc/sudo.cat +++ b/doc/sudo.cat @@ -12,7 +12,7 @@ SSYYNNOOPPSSIISS [--pp _p_r_o_m_p_t] [--rr _r_o_l_e] [--tt _t_y_p_e] [--uu _u_s_e_r] [_V_A_R=_v_a_l_u_e] [--ii | --ss] [_c_o_m_m_a_n_d] ssuuddooeeddiitt [--AAkknnSS] [--aa _t_y_p_e] [--CC _n_u_m] [--cc _c_l_a_s_s] [--gg _g_r_o_u_p] [--hh _h_o_s_t] - [--pp _p_r_o_m_p_t] [--uu _u_s_e_r] file ... + [--pp _p_r_o_m_p_t] [--uu _u_s_e_r] _f_i_l_e _._._. DDEESSCCRRIIPPTTIIOONN ssuuddoo allows a permitted user to execute a _c_o_m_m_a_n_d as the superuser or @@ -90,7 +90,7 @@ DDEESSCCRRIIPPTTIIOONN Run the command with resource limits and scheduling priority of the specified login _c_l_a_s_s. The _c_l_a_s_s argument can be either a class name as defined in _/_e_t_c_/_l_o_g_i_n_._c_o_n_f, or a - single `-' character. If _c_l_a_s_s is -, the default login class + single `-' character. If _c_l_a_s_s is --, the default login class of the target user will be used. Otherwise, the command must be run as the superuser (user ID 0), or ssuuddoo must be run from a shell that is already running as the superuser. If the diff --git a/doc/sudo.man.in b/doc/sudo.man.in index ce1b7942f..fbd4136fe 100644 --- a/doc/sudo.man.in +++ b/doc/sudo.man.in @@ -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 diff --git a/doc/sudo.mdoc.in b/doc/sudo.mdoc.in index 667080cd0..28ba8e0da 100644 --- a/doc/sudo.mdoc.in +++ b/doc/sudo.mdoc.in @@ -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