From 28c49748a9920caa7991dfcde6b8767346c767fe Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Sat, 15 Feb 2014 10:40:46 -0700 Subject: [PATCH] Replace some uses of .Sy with .Ar, .Ev and .Pa as appropriate. From Jan Stary. --- doc/sudo.cat | 8 ++++---- doc/sudo.man.in | 6 +++--- doc/sudo.mdoc.in | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/sudo.cat b/doc/sudo.cat index 334de093f..95731ffb8 100644 --- a/doc/sudo.cat +++ b/doc/sudo.cat @@ -9,7 +9,7 @@ SSYYNNOOPPSSIISS ssuuddoo --ll [--AAkknnSS] [--aa _t_y_p_e] [--gg _g_r_o_u_p] [--hh _h_o_s_t] [--pp _p_r_o_m_p_t] [--UU _u_s_e_r] [--uu _u_s_e_r] [_c_o_m_m_a_n_d] ssuuddoo [--AAbbEEHHnnPPSS] [--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] [--rr _r_o_l_e] [--tt _t_y_p_e] [--uu _u_s_e_r] [VVAARR=_v_a_l_u_e] [--ii | --ss] + [--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 ... @@ -302,8 +302,8 @@ DDEESSCCRRIIPPTTIIOONN command line arguments. Environment variables to be set for the command may also be passed on the - command line in the form of VVAARR=_v_a_l_u_e, e.g. - LLDD__LLIIBBRRAARRYY__PPAATTHH=_/_u_s_r_/_l_o_c_a_l_/_p_k_g_/_l_i_b. Variables passed on the command line + command line in the form of _V_A_R=_v_a_l_u_e, e.g. + LD_LIBRARY_PATH=_/_u_s_r_/_l_o_c_a_l_/_p_k_g_/_l_i_b. Variables passed on the command line are subject to restrictions imposed by the security policy plugin. The _s_u_d_o_e_r_s policy subjects variables passed on the command line to the same restrictions as normal environment variables with one important @@ -582,4 +582,4 @@ DDIISSCCLLAAIIMMEERR file distributed with ssuuddoo or http://www.sudo.ws/sudo/license.html for complete details. -Sudo 1.8.9 December 8, 2013 Sudo 1.8.9 +Sudo 1.8.10 December 8, 2013 Sudo 1.8.10 diff --git a/doc/sudo.man.in b/doc/sudo.man.in index 5ada7102f..78a8b0859 100644 --- a/doc/sudo.man.in +++ b/doc/sudo.man.in @@ -67,7 +67,7 @@ [\fB\-r\fR\ \fIrole\fR] [\fB\-t\fR\ \fItype\fR] [\fB\-u\fR\ \fIuser\fR] -[\fBVAR\fR=\fIvalue\fR] +[\fIVAR\fR=\fIvalue\fR] [\fB\-i\fR\ |\ \fB\-s\fR] [\fIcommand\fR] .br @@ -604,9 +604,9 @@ should stop processing command line arguments. .PP Environment variables to be set for the command may also be passed on the command line in the form of -\fBVAR\fR=\fIvalue\fR, +\fIVAR\fR=\fIvalue\fR, e.g.\& -\fBLD_LIBRARY_PATH\fR=\fI/usr/local/pkg/lib\fR. +\fRLD_LIBRARY_PATH\fR=\fI/usr/local/pkg/lib\fR. Variables passed on the command line are subject to restrictions imposed by the security policy plugin. The diff --git a/doc/sudo.mdoc.in b/doc/sudo.mdoc.in index 0309d00ef..2a8a1bffc 100644 --- a/doc/sudo.mdoc.in +++ b/doc/sudo.mdoc.in @@ -99,7 +99,7 @@ .Op Fl u Ar user .Ek .Bk -words -.Op Sy VAR Ns = Ns Ar value +.Op Ar VAR Ns = Ns Ar value .Ek .Bk -words .Op Fl i No | Fl s @@ -604,9 +604,9 @@ should stop processing command line arguments. .Pp Environment variables to be set for the command may also be passed on the command line in the form of -.Sy VAR Ns No = Ns Em value , +.Ar VAR Ns No = Ns Ar value , e.g.\& -.Sy LD_LIBRARY_PATH Ns No = Ns Em /usr/local/pkg/lib . +.Ev LD_LIBRARY_PATH Ns No = Ns Pa /usr/local/pkg/lib . Variables passed on the command line are subject to restrictions imposed by the security policy plugin. The