summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/getopt_long.3
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2011-01-24 01:50:25 +0000
committerschwarze <schwarze@openbsd.org>2011-01-24 01:50:25 +0000
commit1254faf44964716b6915a131e5604a5fa97ee47c (patch)
treee60f420d2b1be7aadd4bc11fb94c62366ac184d6 /lib/libc/stdlib/getopt_long.3
parentIn roff, the escape sequence \: is an optional line break, (diff)
downloadwireguard-openbsd-1254faf44964716b6915a131e5604a5fa97ee47c.tar.xz
wireguard-openbsd-1254faf44964716b6915a131e5604a5fa97ee47c.zip
Correctly escape a literal colon in an enclosure;
the \: roff escape is an optional line break.
Diffstat (limited to 'lib/libc/stdlib/getopt_long.3')
-rw-r--r--lib/libc/stdlib/getopt_long.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/getopt_long.3 b/lib/libc/stdlib/getopt_long.3
index 53737d8f257..c2b0db64528 100644
--- a/lib/libc/stdlib/getopt_long.3
+++ b/lib/libc/stdlib/getopt_long.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getopt_long.3,v 1.16 2010/09/19 22:22:13 jmc Exp $
+.\" $OpenBSD: getopt_long.3,v 1.17 2011/01/24 01:50:25 schwarze Exp $
.\" $NetBSD: getopt_long.3,v 1.11 2002/10/02 10:54:19 wiz Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)getopt.3 8.5 (Berkeley) 4/27/95
.\"
-.Dd $Mdocdate: September 19 2010 $
+.Dd $Mdocdate: January 24 2011 $
.Dt GETOPT_LONG 3
.Os
.Sh NAME
@@ -199,7 +199,7 @@ these functions return 0 and store
in the location pointed to by
.Fa flag .
These functions return
-.Sq \:
+.Sq \&:
if there was a missing option argument,
.Sq \&?
if the user specified an unknown or ambiguous option, and