The parameter that contains valid options is "optstring", not "optarg".

This commit is contained in:
Matthew Hunt 2000-11-28 22:06:17 +00:00
parent 660cef19da
commit fecae3493c
1 changed files with 1 additions and 1 deletions

View File

@ -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