diff options
author | jmc <> | 2022-01-06 18:58:24 +0000 |
---|---|---|
committer | jmc <> | 2022-01-06 18:58:24 +0000 |
commit | d93aa16238be38535b8d4292ab7ac0ac0a70ce70 (patch) | |
tree | dc5e485c41d8f64b8f0cf1cd66d8260f85e7fed7 /src/lib/libc/stdlib | |
parent | 77745bde0f2e8b6978d2a5c85f7dfe9912ec7a01 (diff) | |
download | openbsd-d93aa16238be38535b8d4292ab7ac0ac0a70ce70.tar.gz openbsd-d93aa16238be38535b8d4292ab7ac0ac0a70ce70.tar.bz2 openbsd-d93aa16238be38535b8d4292ab7ac0ac0a70ce70.zip |
refer to longindex as an argument, not a field;
from uwe@netbsd -r1.22
ok millert
Diffstat (limited to 'src/lib/libc/stdlib')
-rw-r--r-- | src/lib/libc/stdlib/getopt_long.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/getopt_long.3 b/src/lib/libc/stdlib/getopt_long.3 index a1fb404674..9f99a353e8 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.23 2021/10/24 21:24:20 deraadt Exp $ | 1 | .\" $OpenBSD: getopt_long.3,v 1.24 2022/01/06 18:58:24 jmc 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: October 24 2021 $ | 33 | .Dd $Mdocdate: January 6 2022 $ |
34 | .Dt GETOPT_LONG 3 | 34 | .Dt GETOPT_LONG 3 |
35 | .Os | 35 | .Os |
36 | .Sh NAME | 36 | .Sh NAME |
@@ -171,7 +171,7 @@ like | |||
171 | .Pp | 171 | .Pp |
172 | If the | 172 | If the |
173 | .Fa longindex | 173 | .Fa longindex |
174 | field is not | 174 | argument is not |
175 | .Dv NULL , | 175 | .Dv NULL , |
176 | then the integer pointed to by it will be set to the index of the long | 176 | then the integer pointed to by it will be set to the index of the long |
177 | option relative to | 177 | option relative to |