2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 01:49:11 +00:00

Dash/hyphen related style fixes from check_man.

This commit is contained in:
Todd C. Miller 2025-02-27 19:37:48 -07:00
parent eae70b05cf
commit ff3c2185f1
8 changed files with 10 additions and 10 deletions

View File

@ -247,7 +247,7 @@ calculated using a monotonic clock where possible.
This is not the wall clock time. This is not the wall clock time.
.TP 8n .TP 8n
exit_value exit_value
The command's exit value in the range 0-255. The command's exit value in the range 0\(en255.
.TP 8n .TP 8n
dumped_core dumped_core
True if the command was terminated by a signal and dumped core. True if the command was terminated by a signal and dumped core.
@ -815,7 +815,7 @@ message RejectMessage {
/* Might revisit runtime and use end_time instead */ /* Might revisit runtime and use end_time instead */
message ExitMessage { message ExitMessage {
TimeSpec run_time = 1; /* total elapsed run time */ TimeSpec run_time = 1; /* total elapsed run time */
int32 exit_value = 2; /* 0-255 */ int32 exit_value = 2; /* 0\(en255 */
bool dumped_core = 3; /* true if command dumped core */ bool dumped_core = 3; /* true if command dumped core */
string signal = 4; /* signal name if killed by signal */ string signal = 4; /* signal name if killed by signal */
string error = 5; /* if killed due to other error */ string error = 5; /* if killed due to other error */

View File

@ -229,7 +229,7 @@ The total amount of elapsed time since the command started,
calculated using a monotonic clock where possible. calculated using a monotonic clock where possible.
This is not the wall clock time. This is not the wall clock time.
.It exit_value .It exit_value
The command's exit value in the range 0-255. The command's exit value in the range 0\(en255.
.It dumped_core .It dumped_core
True if the command was terminated by a signal and dumped core. True if the command was terminated by a signal and dumped core.
.It signal .It signal
@ -733,7 +733,7 @@ message RejectMessage {
/* Might revisit runtime and use end_time instead */ /* Might revisit runtime and use end_time instead */
message ExitMessage { message ExitMessage {
TimeSpec run_time = 1; /* total elapsed run time */ TimeSpec run_time = 1; /* total elapsed run time */
int32 exit_value = 2; /* 0-255 */ int32 exit_value = 2; /* 0\(en255 */
bool dumped_core = 3; /* true if command dumped core */ bool dumped_core = 3; /* true if command dumped core */
string signal = 4; /* signal name if killed by signal */ string signal = 4; /* signal name if killed by signal */
string error = 5; /* if killed due to other error */ string error = 5; /* if killed due to other error */

View File

@ -1059,7 +1059,7 @@ Sudo log server configuration file
# password prompts in the terminal output when log_passwords is # password prompts in the terminal output when log_passwords is
# disabled. Multiple passprompt_regex settings may be specified. # disabled. Multiple passprompt_regex settings may be specified.
#passprompt_regex = [Pp]assword[: ]* #passprompt_regex = [Pp]assword[: ]*
#passprompt_regex = [Pp]assword for [a-z0-9]+: * #passprompt_regex = [Pp]assword for [a\-z0\-9]+: *
[eventlog] [eventlog]
# Where to log accept, reject, exit, and alert events. # Where to log accept, reject, exit, and alert events.

View File

@ -978,7 +978,7 @@ Sudo log server configuration file
# password prompts in the terminal output when log_passwords is # password prompts in the terminal output when log_passwords is
# disabled. Multiple passprompt_regex settings may be specified. # disabled. Multiple passprompt_regex settings may be specified.
#passprompt_regex = [Pp]assword[: ]* #passprompt_regex = [Pp]assword[: ]*
#passprompt_regex = [Pp]assword for [a-z0-9]+: * #passprompt_regex = [Pp]assword for [a\-z0\-9]+: *
[eventlog] [eventlog]
# Where to log accept, reject, exit, and alert events. # Where to log accept, reject, exit, and alert events.

View File

@ -934,7 +934,7 @@ Group in the same domain: "%:Group Name"
Group in any domain: "%:Group Name@FULLY.QUALIFIED.DOMAIN" Group in any domain: "%:Group Name@FULLY.QUALIFIED.DOMAIN"
.TP 3n .TP 3n
\fB\(bu\fR \fB\(bu\fR
Group SID: "%:S-1-2-34-5678901234-5678901234-5678901234-567" Group SID: "%:S\-1\-2\-34\-5678901234\-5678901234\-5678901234\-567"
.PP .PP
See See
\fIGROUP PROVIDER PLUGINS\fR \fIGROUP PROVIDER PLUGINS\fR

View File

@ -895,7 +895,7 @@ Group in the same domain: "%:Group Name"
.It .It
Group in any domain: "%:Group Name@FULLY.QUALIFIED.DOMAIN" Group in any domain: "%:Group Name@FULLY.QUALIFIED.DOMAIN"
.It .It
Group SID: "%:S-1-2-34-5678901234-5678901234-5678901234-567" Group SID: "%:S\-1\-2\-34\-5678901234\-5678901234\-5678901234\-567"
.El .El
.Pp .Pp
See See

View File

@ -486,7 +486,7 @@ that match a regular expression:
.nf .nf
.sp .sp
.RS 4n .RS 4n
# sudoreplay -l user jeff command '/bin/[a-z]*sh' # sudoreplay \-l user jeff command '/bin/[a\-z]*sh'
.RE .RE
.fi .fi
.PP .PP

View File

@ -433,7 +433,7 @@ List sessions run by user
.Em jeff .Em jeff
that match a regular expression: that match a regular expression:
.Bd -literal -offset 4n .Bd -literal -offset 4n
# sudoreplay -l user jeff command '/bin/[a-z]*sh' # sudoreplay \-l user jeff command '/bin/[a\-z]*sh'
.Ed .Ed
.Pp .Pp
List sessions run by jeff or bob on the console: List sessions run by jeff or bob on the console: