summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorbentley <bentley@openbsd.org>2015-11-24 09:03:16 +0000
committerbentley <bentley@openbsd.org>2015-11-24 09:03:16 +0000
commit5156e4a275c989ebd68451742a309907478a55a0 (patch)
treef36cfd204c969e166ca1be81fa58fe28be7aa6ab /lib/libc/stdlib
parentadd filter.c plumbing, not linked to the build, not used yet (diff)
downloadwireguard-openbsd-5156e4a275c989ebd68451742a309907478a55a0.tar.xz
wireguard-openbsd-5156e4a275c989ebd68451742a309907478a55a0.zip
Don't fake a bulleted list by prefixing items with 'o'.
ok jmc@
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/getopt.316
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3
index 6661e03841d..3c89783cd03 100644
--- a/lib/libc/stdlib/getopt.3
+++ b/lib/libc/stdlib/getopt.3
@@ -25,9 +25,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: getopt.3,v 1.44 2014/01/21 03:15:45 schwarze Exp $
+.\" $OpenBSD: getopt.3,v 1.45 2015/11/24 09:03:16 bentley Exp $
.\"
-.Dd $Mdocdate: January 21 2014 $
+.Dd $Mdocdate: November 24 2015 $
.Dt GETOPT 3
.Os
.Sh NAME
@@ -224,14 +224,14 @@ function implements a superset of the functionality specified by
.St -p1003.1 .
.Pp
The following extensions are supported:
-.Bl -tag -width "xxx"
-.It Li o
+.Bl -bullet
+.It
The
.Va optreset
variable was added to make it possible to call the
.Fn getopt
function multiple times.
-.It Li o
+.It
If the
.Va optind
variable is set to 0,
@@ -245,7 +245,7 @@ This is for compatibility with
New code should use
.Va optreset
instead.
-.It Li o
+.It
If the first character of
.Fa optstring
is a plus sign
@@ -254,7 +254,7 @@ it will be ignored.
This is for compatibility with
.Tn GNU
.Fn getopt .
-.It Li o
+.It
If the first character of
.Fa optstring
is a dash
@@ -264,7 +264,7 @@ non-options will be returned as arguments to the option character
This is for compatibility with
.Tn GNU
.Fn getopt .
-.It Li o
+.It
A single dash
.Pq Ql -
may be specified as a character in