summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorespie <>2011-03-21 13:41:50 +0000
committerespie <>2011-03-21 13:41:50 +0000
commit9dc7a9d7a2723c2ab841e1da950234114714ab60 (patch)
tree54f888222f96bdbb32ee3216f387280a0981a638
parent1b796f197ae9753a77883d39c0810398f4907fe8 (diff)
downloadopenbsd-9dc7a9d7a2723c2ab841e1da950234114714ab60.tar.gz
openbsd-9dc7a9d7a2723c2ab841e1da950234114714ab60.tar.bz2
openbsd-9dc7a9d7a2723c2ab841e1da950234114714ab60.zip
tweak for clarity, ok millert@, jmc@
-rw-r--r--src/lib/libc/stdlib/getopt_long.38
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/libc/stdlib/getopt_long.3 b/src/lib/libc/stdlib/getopt_long.3
index fe3a54bbcd..eaa5ead1c7 100644
--- a/src/lib/libc/stdlib/getopt_long.3
+++ b/src/lib/libc/stdlib/getopt_long.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: getopt_long.3,v 1.18 2011/03/05 22:10:11 guenther Exp $ 1.\" $OpenBSD: getopt_long.3,v 1.19 2011/03/21 13:41:50 espie Exp $
2.\" $NetBSD: getopt_long.3,v 1.11 2002/10/02 10:54:19 wiz Exp $ 2.\" $NetBSD: getopt_long.3,v 1.11 2002/10/02 10:54:19 wiz Exp $
3.\" 3.\"
4.\" Copyright (c) 1988, 1991, 1993 4.\" Copyright (c) 1988, 1991, 1993
@@ -30,7 +30,7 @@
30.\" 30.\"
31.\" @(#)getopt.3 8.5 (Berkeley) 4/27/95 31.\" @(#)getopt.3 8.5 (Berkeley) 4/27/95
32.\" 32.\"
33.Dd $Mdocdate: March 5 2011 $ 33.Dd $Mdocdate: March 21 2011 $
34.Dt GETOPT_LONG 3 34.Dt GETOPT_LONG 3
35.Os 35.Os
36.Sh NAME 36.Sh NAME
@@ -100,9 +100,9 @@ An exact match is always preferred for a defined long option.
100.Pp 100.Pp
101The 101The
102.Fn getopt_long 102.Fn getopt_long
103call requires a structure to be initialized describing the long 103call requires an array to be initialized describing the long
104options. 104options.
105The structure is: 105Each element of the array is a structure:
106.Bd -literal -offset indent 106.Bd -literal -offset indent
107struct option { 107struct option {
108 char *name; 108 char *name;