summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib/getopt.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/stdlib/getopt.3')
-rw-r--r--lib/libc/stdlib/getopt.34
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3
index 161492437189..7d8047260c10 100644
--- a/lib/libc/stdlib/getopt.3
+++ b/lib/libc/stdlib/getopt.3
@@ -125,7 +125,7 @@ The
function
returns \-1
when the argument list is exhausted, or
-.Ql ?
+.Ql ?\&
if a non-recognized
option is encountered.
The interpretation of options in the argument list may be cancelled
@@ -147,7 +147,7 @@ or detects
a missing option argument it writes an error message to the
.Em stderr
and returns
-.Ql ? .
+.Ql ?\& .
Setting
.Va opterr
to a zero will disable these error messages.