summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/getopt_long.3
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>2011-03-21 13:41:50 +0000
committerespie <espie@openbsd.org>2011-03-21 13:41:50 +0000
commit24feaf2386d5b1f4fd5dc48eafa765cbba37d704 (patch)
tree8a27dcf86e9100d15fdee542b29a2dd9c7d9088e /lib/libc/stdlib/getopt_long.3
parentfix audacity. Make specs like >= 0.14.2b kosher (diff)
downloadwireguard-openbsd-24feaf2386d5b1f4fd5dc48eafa765cbba37d704.tar.xz
wireguard-openbsd-24feaf2386d5b1f4fd5dc48eafa765cbba37d704.zip
tweak for clarity, ok millert@, jmc@
Diffstat (limited to 'lib/libc/stdlib/getopt_long.3')
-rw-r--r--lib/libc/stdlib/getopt_long.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/stdlib/getopt_long.3 b/lib/libc/stdlib/getopt_long.3
index fe3a54bbcdd..eaa5ead1c7a 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.18 2011/03/05 22:10:11 guenther Exp $
+.\" $OpenBSD: getopt_long.3,v 1.19 2011/03/21 13:41:50 espie 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: March 5 2011 $
+.Dd $Mdocdate: March 21 2011 $
.Dt GETOPT_LONG 3
.Os
.Sh NAME
@@ -100,9 +100,9 @@ An exact match is always preferred for a defined long option.
.Pp
The
.Fn getopt_long
-call requires a structure to be initialized describing the long
+call requires an array to be initialized describing the long
options.
-The structure is:
+Each element of the array is a structure:
.Bd -literal -offset indent
struct option {
char *name;