mirror of https://github.com/mkerrisk/man-pages
getopt.3: Remove redundant text
The same information is described in two consecutive paragraphs. Remove the shorter paragraph, leaving the longer one that contains more information. Reported-by: John Wiersba <jrw32982@yahoo.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
606b226bd2
commit
797438e749
|
@ -169,14 +169,6 @@ of the scanning mode.
|
|||
.PP
|
||||
If
|
||||
.BR getopt ()
|
||||
does not recognize an option character, it prints an
|
||||
error message to \fIstderr\fP, stores the character in \fIoptopt\fP, and
|
||||
returns \(aq?\(aq.
|
||||
The calling program may prevent the error message by
|
||||
setting \fIopterr\fP to 0.
|
||||
.PP
|
||||
If
|
||||
.BR getopt ()
|
||||
finds an option character in \fIargv\fP that was not
|
||||
included in \fIoptstring\fP, or if it detects a missing option argument,
|
||||
it returns \(aq?\(aq and sets the external variable \fIoptopt\fP to the
|
||||
|
|
Loading…
Reference in New Issue