Module Name: src
Committed By: uwe
Date: Tue Jan 4 19:36:16 UTC 2022
Modified Files:
src/lib/libc/stdlib: getopt_long.3
Log Message:
getopt_long(3): "index" is an argument, not a field.
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 src/lib/libc/stdlib/getopt_long.3
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/stdlib/getopt_long.3
diff -u src/lib/libc/stdlib/getopt_long.3:1.21 src/lib/libc/stdlib/getopt_long.3:1.22
--- src/lib/libc/stdlib/getopt_long.3:1.21 Tue Jan 4 19:32:16 2022
+++ src/lib/libc/stdlib/getopt_long.3 Tue Jan 4 19:36:16 2022
@@ -1,4 +1,4 @@
-.\" $NetBSD: getopt_long.3,v 1.21 2022/01/04 19:32:16 uwe Exp $
+.\" $NetBSD: getopt_long.3,v 1.22 2022/01/04 19:36:16 uwe Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -146,7 +146,7 @@ like
.Pp
If the
.Fa index
-field is not
+argument is not
.Dv NULL ,
the integer it points to will be set to the index of the long option
in the