summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2011-03-21 13:41:51 +0000
committerMarc Espie <espie@cvs.openbsd.org>2011-03-21 13:41:51 +0000
commit91fb91535ff9ddb684eae288e33b5de553fdfc7e (patch)
treea5ea03987e0192a5389960e24acff745fcf4cab7
parent6a3302093712e6683b549ea2428fca2eba4ac4a2 (diff)
tweak for clarity, ok millert@, jmc@
-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;