summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarze <>2011-01-24 01:50:25 +0000
committerschwarze <>2011-01-24 01:50:25 +0000
commitb9af7d3e39bdc24692437678d37638c8728737b9 (patch)
treefa59d788e3951040892147fe4a2d6c18d90d87fc
parent0c2f5403fdb800d4b5445f5c1c58dc0ed40a3c26 (diff)
downloadopenbsd-b9af7d3e39bdc24692437678d37638c8728737b9.tar.gz
openbsd-b9af7d3e39bdc24692437678d37638c8728737b9.tar.bz2
openbsd-b9af7d3e39bdc24692437678d37638c8728737b9.zip
Correctly escape a literal colon in an enclosure;
the \: roff escape is an optional line break.
-rw-r--r--src/lib/libc/stdlib/getopt_long.36
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/getopt_long.3 b/src/lib/libc/stdlib/getopt_long.3
index 53737d8f25..c2b0db6452 100644
--- a/src/lib/libc/stdlib/getopt_long.3
+++ b/src/lib/libc/stdlib/getopt_long.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: getopt_long.3,v 1.16 2010/09/19 22:22:13 jmc Exp $ 1.\" $OpenBSD: getopt_long.3,v 1.17 2011/01/24 01:50:25 schwarze Exp $
2.\" $NetBSD: getopt_long.3,v 1.11 2002/10/02 10:54:19 wiz Exp $ 2.\" $NetBSD: getopt_long.3,v 1.11 2002/10/02 10:54:19 wiz Exp $
3.\" 3.\"
4.\" Copyright (c) 1988, 1991, 1993 4.\" Copyright (c) 1988, 1991, 1993
@@ -30,7 +30,7 @@
30.\" 30.\"
31.\" @(#)getopt.3 8.5 (Berkeley) 4/27/95 31.\" @(#)getopt.3 8.5 (Berkeley) 4/27/95
32.\" 32.\"
33.Dd $Mdocdate: September 19 2010 $ 33.Dd $Mdocdate: January 24 2011 $
34.Dt GETOPT_LONG 3 34.Dt GETOPT_LONG 3
35.Os 35.Os
36.Sh NAME 36.Sh NAME
@@ -199,7 +199,7 @@ these functions return 0 and store
199in the location pointed to by 199in the location pointed to by
200.Fa flag . 200.Fa flag .
201These functions return 201These functions return
202.Sq \: 202.Sq \&:
203if there was a missing option argument, 203if there was a missing option argument,
204.Sq \&? 204.Sq \&?
205if the user specified an unknown or ambiguous option, and 205if the user specified an unknown or ambiguous option, and