summaryrefslogtreecommitdiff
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2022-01-06 18:58:25 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2022-01-06 18:58:25 +0000
commite0700cba07a68997ed5d1a2b9bfe306b1a2d276b (patch)
tree2f7faab309c70ed7ef889c40a6288e8757d71bb3 /lib/libc/stdlib
parent631e038249083e73b4ef1a0b404b1bfafd1e0f6b (diff)
refer to longindex as an argument, not a field;
from uwe@netbsd -r1.22 ok millert
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/getopt_long.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/getopt_long.3 b/lib/libc/stdlib/getopt_long.3
index a1fb4046742..9f99a353e8c 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.23 2021/10/24 21:24:20 deraadt Exp $
+.\" $OpenBSD: getopt_long.3,v 1.24 2022/01/06 18:58:24 jmc 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: October 24 2021 $
+.Dd $Mdocdate: January 6 2022 $
.Dt GETOPT_LONG 3
.Os
.Sh NAME
@@ -171,7 +171,7 @@ like
.Pp
If the
.Fa longindex
-field is not
+argument is not
.Dv NULL ,
then the integer pointed to by it will be set to the index of the long
option relative to