diff options
author | mph <mph@FreeBSD.org> | 2000-11-28 22:06:17 +0000 |
---|---|---|
committer | mph <mph@FreeBSD.org> | 2000-11-28 22:06:17 +0000 |
commit | 84bc874893d728ab56edb98c932641b7b0e18ba1 (patch) | |
tree | 2f4a240f8f8f81fba9f8e2882efc84a7b9db668b /lib | |
parent | 33e0e594a853ede9e3dcdaeccc94ca29909c5286 (diff) | |
download | FreeBSD-src-84bc874893d728ab56edb98c932641b7b0e18ba1.zip FreeBSD-src-84bc874893d728ab56edb98c932641b7b0e18ba1.tar.gz |
The parameter that contains valid options is "optstring", not "optarg".
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/stdlib/getopt.3 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3 index 1614924..d8beee2 100644 --- a/lib/libc/stdlib/getopt.3 +++ b/lib/libc/stdlib/getopt.3 @@ -142,7 +142,7 @@ returns \-1. If the .Fn getopt function encounters a character not found in the string -.Va optarg +.Va optstring or detects a missing option argument it writes an error message to the .Em stderr |