From: Todd C. Miller Date: Mon, 16 Apr 2012 15:45:29 +0000 (-0400) Subject: Clarify what "sudoreplay -l" displays and mention that it is sorted. X-Git-Tag: SUDO_1_8_5~1^2~44 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3f750b75428cd3b175d48642341870ec457cca2;p=sudo Clarify what "sudoreplay -l" displays and mention that it is sorted. --- diff --git a/doc/sudoreplay.cat b/doc/sudoreplay.cat index a81bfb150..0f4816ed3 100644 --- a/doc/sudoreplay.cat +++ b/doc/sudoreplay.cat @@ -55,10 +55,11 @@ OOPPTTIIOONNSS -l [_s_e_a_r_c_h _e_x_p_r_e_s_s_i_o_n] Enable "list mode". In this mode, ssuuddoorreeppllaayy will list - available session IDs. If a _s_e_a_r_c_h _e_x_p_r_e_s_s_i_o_n is - specified, it will be used to restrict the IDs that are - displayed. An expression is composed of the following - predicates: + available sessions in a format similar to the ssuuddoo log file + format, sorted by file name (or sequence number). If a + _s_e_a_r_c_h _e_x_p_r_e_s_s_i_o_n is specified, it will be used to restrict + the IDs that are displayed. An expression is composed of + the following predicates: command _c_o_m_m_a_n_d _p_a_t_t_e_r_n Evaluates to true if the command run matches @@ -260,4 +261,4 @@ DDIISSCCLLAAIIMMEERR -1.8.5 March 14, 2012 SUDOREPLAY(1m) +1.8.5 April 16, 2012 SUDOREPLAY(1m) diff --git a/doc/sudoreplay.man.in b/doc/sudoreplay.man.in index a12bd6254..df52ebeb6 100644 --- a/doc/sudoreplay.man.in +++ b/doc/sudoreplay.man.in @@ -139,7 +139,7 @@ .\" ======================================================================== .\" .IX Title "SUDOREPLAY @mansectsu@" -.TH SUDOREPLAY @mansectsu@ "March 14, 2012" "1.8.5" "MAINTENANCE COMMANDS" +.TH SUDOREPLAY @mansectsu@ "April 16, 2012" "1.8.5" "MAINTENANCE COMMANDS" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l @@ -198,9 +198,10 @@ help message to the standard output and exit. .IP "\-l [\fIsearch expression\fR]" 12 .IX Item "-l [search expression]" Enable \*(L"list mode\*(R". In this mode, \fBsudoreplay\fR will list available -session IDs. If a \fIsearch expression\fR is specified, it will be -used to restrict the IDs that are displayed. An expression is -composed of the following predicates: +sessions in a format similar to the \fBsudo\fR log file format, sorted +by file name (or sequence number). If a \fIsearch expression\fR is +specified, it will be used to restrict the IDs that are displayed. +An expression is composed of the following predicates: .RS 12 .IP "command \fIcommand pattern\fR" 8 .IX Item "command command pattern" diff --git a/doc/sudoreplay.pod b/doc/sudoreplay.pod index d01e498b1..38c743d35 100644 --- a/doc/sudoreplay.pod +++ b/doc/sudoreplay.pod @@ -88,9 +88,10 @@ help message to the standard output and exit. =item -l [I] Enable "list mode". In this mode, B will list available -session IDs. If a I is specified, it will be -used to restrict the IDs that are displayed. An expression is -composed of the following predicates: +sessions in a format similar to the B log file format, sorted +by file name (or sequence number). If a I is +specified, it will be used to restrict the IDs that are displayed. +An expression is composed of the following predicates: =over 8