diff options
author | jmc <> | 2003-09-02 18:24:21 +0000 |
---|---|---|
committer | jmc <> | 2003-09-02 18:24:21 +0000 |
commit | fca64a525cd51136278627ac29e06b3ba8a31fec (patch) | |
tree | 243a16231b32498e906d72c4e01d59fc7d2c5b25 /src/lib/libc/stdlib/getopt.3 | |
parent | 2192f5aa29c97a3458bffd55d7b561689c91c441 (diff) | |
download | openbsd-fca64a525cd51136278627ac29e06b3ba8a31fec.tar.gz openbsd-fca64a525cd51136278627ac29e06b3ba8a31fec.tar.bz2 openbsd-fca64a525cd51136278627ac29e06b3ba8a31fec.zip |
escape punctuation;
ok deraadt@
Diffstat (limited to 'src/lib/libc/stdlib/getopt.3')
-rw-r--r-- | src/lib/libc/stdlib/getopt.3 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/stdlib/getopt.3 b/src/lib/libc/stdlib/getopt.3 index 3fa17340de..9b27b70e65 100644 --- a/src/lib/libc/stdlib/getopt.3 +++ b/src/lib/libc/stdlib/getopt.3 | |||
@@ -25,7 +25,7 @@ | |||
25 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 25 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
26 | .\" SUCH DAMAGE. | 26 | .\" SUCH DAMAGE. |
27 | .\" | 27 | .\" |
28 | .\" $OpenBSD: getopt.3,v 1.25 2003/06/02 20:18:37 millert Exp $ | 28 | .\" $OpenBSD: getopt.3,v 1.26 2003/09/02 18:24:21 jmc Exp $ |
29 | .\" | 29 | .\" |
30 | .Dd December 17, 2002 | 30 | .Dd December 17, 2002 |
31 | .Dt GETOPT 3 | 31 | .Dt GETOPT 3 |
@@ -129,7 +129,7 @@ encounters a character not found in | |||
129 | .Fa optstring | 129 | .Fa optstring |
130 | or if it detects a missing option argument, | 130 | or if it detects a missing option argument, |
131 | it returns | 131 | it returns |
132 | .Sq ? | 132 | .Sq \&? |
133 | (question mark). | 133 | (question mark). |
134 | If | 134 | If |
135 | .Fa optstring | 135 | .Fa optstring |
@@ -138,7 +138,7 @@ has a leading | |||
138 | then a missing option argument causes | 138 | then a missing option argument causes |
139 | .Sq \: | 139 | .Sq \: |
140 | to be returned instead of | 140 | to be returned instead of |
141 | .Sq ? . | 141 | .Sq \&? . |
142 | In either case, the variable | 142 | In either case, the variable |
143 | .Va optopt | 143 | .Va optopt |
144 | is set to the character that caused the error. | 144 | is set to the character that caused the error. |
@@ -179,7 +179,7 @@ or detects | |||
179 | a missing option argument it writes an error message to | 179 | a missing option argument it writes an error message to |
180 | .Em stderr | 180 | .Em stderr |
181 | and returns | 181 | and returns |
182 | .Ql ? . | 182 | .Ql \&? . |
183 | Setting | 183 | Setting |
184 | .Va opterr | 184 | .Va opterr |
185 | to a zero will disable these error messages. | 185 | to a zero will disable these error messages. |