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:
Michael Kerrisk 2017-01-25 10:04:27 +13:00
parent 606b226bd2
commit 797438e749
1 changed files with 0 additions and 8 deletions

View File

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