2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-30 13:58:05 +00:00

Escape some minus signs ('-') as required by newer groff.

This commit is contained in:
Todd C. Miller
2021-10-31 10:45:08 -06:00
parent 4eebd53bce
commit 4e1e07b883
4 changed files with 10 additions and 10 deletions

View File

@@ -4140,7 +4140,7 @@ The file or socket descriptor for I/O-based events or the signal
number for signal events. number for signal events.
For time-based events, For time-based events,
\fIfd\fR \fIfd\fR
must be -1. must be \-1.
.TP 6n .TP 6n
\fIevents\fR \fIevents\fR
The following values determine what will trigger the event callback: The following values determine what will trigger the event callback:

View File

@@ -3666,7 +3666,7 @@ The file or socket descriptor for I/O-based events or the signal
number for signal events. number for signal events.
For time-based events, For time-based events,
.Fa fd .Fa fd
must be -1. must be \-1.
.It Fa events .It Fa events
The following values determine what will trigger the event callback: The following values determine what will trigger the event callback:
.Bl -tag -width 4n .Bl -tag -width 4n

View File

@@ -112,9 +112,9 @@ l l.
.PP .PP
\fRsudo.RC.REJECT\fR 0 \fRsudo.RC.REJECT\fR 0
.PP .PP
\fRsudo.RC.ERROR\fR -1 \fRsudo.RC.ERROR\fR \-1
.PP .PP
\fRsudo.RC.USAGE_ERROR\fR -2 \fRsudo.RC.USAGE_ERROR\fR \-2
.TE .TE
.RE .RE
.PP .PP
@@ -532,7 +532,7 @@ attempts to execute the command.
The function arguments are as follows: The function arguments are as follows:
.TP 6n .TP 6n
\fIexit_status\fR \fIexit_status\fR
The exit status of the command if was executed, otherwise -1. The exit status of the command if was executed, otherwise \-1.
.TP 6n .TP 6n
\fIerror\fR \fIerror\fR
.br .br
@@ -824,7 +824,7 @@ attempts to execute the command.
The function arguments are as follows: The function arguments are as follows:
.TP 6n .TP 6n
\fIexit_status\fR \fIexit_status\fR
The exit status of the command if was executed, otherwise -1. The exit status of the command if was executed, otherwise \-1.
.TP 6n .TP 6n
\fIerror\fR \fIerror\fR
.br .br

View File

@@ -94,8 +94,8 @@ The Python sudo module defines the following constants to improve readability:
.It Dv sudo.RC.OK Ta 1 .It Dv sudo.RC.OK Ta 1
.It Dv sudo.RC.ACCEPT Ta 1 .It Dv sudo.RC.ACCEPT Ta 1
.It Dv sudo.RC.REJECT Ta 0 .It Dv sudo.RC.REJECT Ta 0
.It Dv sudo.RC.ERROR Ta -1 .It Dv sudo.RC.ERROR Ta \-1
.It Dv sudo.RC.USAGE_ERROR Ta -2 .It Dv sudo.RC.USAGE_ERROR Ta \-2
.El .El
.Pp .Pp
If a function returns If a function returns
@@ -434,7 +434,7 @@ attempts to execute the command.
The function arguments are as follows: The function arguments are as follows:
.Bl -tag -width 4n .Bl -tag -width 4n
.It Fa exit_status .It Fa exit_status
The exit status of the command if was executed, otherwise -1. The exit status of the command if was executed, otherwise \-1.
.It Fa error .It Fa error
If the command could not be executed, this is set to the value of If the command could not be executed, this is set to the value of
errno set by the errno set by the
@@ -668,7 +668,7 @@ attempts to execute the command.
The function arguments are as follows: The function arguments are as follows:
.Bl -tag -width 4n .Bl -tag -width 4n
.It Fa exit_status .It Fa exit_status
The exit status of the command if was executed, otherwise -1. The exit status of the command if was executed, otherwise \-1.
.It Fa error .It Fa error
If the command could not be executed, this is set to the value of If the command could not be executed, this is set to the value of
errno set by the errno set by the