summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-24 01:50:26 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-24 01:50:26 +0000
commit3a915c7bdb7733376aff99e0ab3d5a03748626e4 (patch)
treefbb635cb7e2c2eff0677255f3a08b5eeefe93455
parent2c6fe66e6ae98f471af4d574345c3fd7dd893746 (diff)
Correctly escape a literal colon in an enclosure;
the \: roff escape is an optional line break.
-rw-r--r--lib/libc/gen/authenticate.36
-rw-r--r--lib/libc/stdlib/getopt_long.36
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/libc/gen/authenticate.3 b/lib/libc/gen/authenticate.3
index af6122cdeb6..d892ed73f6f 100644
--- a/lib/libc/gen/authenticate.3
+++ b/lib/libc/gen/authenticate.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: authenticate.3,v 1.12 2009/07/15 07:53:56 schwarze Exp $
+.\" $OpenBSD: authenticate.3,v 1.13 2011/01/24 01:50:25 schwarze Exp $
.\"
.\" Copyright (c) 1997 Berkeley Software Design, Inc. All rights reserved.
.\"
@@ -31,7 +31,7 @@
.\" SUCH DAMAGE.
.\"
.\" BSDI $From: authenticate.3,v 2.7 1998/09/03 20:27:20 prb Exp $
-.Dd $Mdocdate: July 15 2009 $
+.Dd $Mdocdate: January 24 2011 $
.Dt AUTHENTICATE 3
.Os
.Sh NAME
@@ -97,7 +97,7 @@ In this case,
.Ar name
may include the desired style by appending it to the user's name with a
single colon
-.Pq Sq \:
+.Pq Sq \&:
as a separator.
If
.Ar type
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