Sort sections, use standard headers.
This commit is contained in:
parent
ab781ab3d8
commit
2d05348099
@ -1,4 +1,4 @@
|
||||
.\" $NetBSD: getopt.1,v 1.12 2001/12/01 16:43:15 wiz Exp $
|
||||
.\" $NetBSD: getopt.1,v 1.13 2001/12/01 19:20:32 wiz Exp $
|
||||
.Dd November 9, 2000
|
||||
.Dt GETOPT 1
|
||||
.Os
|
||||
@ -33,7 +33,7 @@ preceded by a
|
||||
.Dq \-
|
||||
and in its own shell argument;
|
||||
each option argument is also in its own shell argument.
|
||||
.Sh EXAMPLE
|
||||
.Sh EXAMPLES
|
||||
The following code fragment shows how one might process the arguments
|
||||
for a command that can take the options
|
||||
.Op a
|
||||
@ -88,14 +88,14 @@ and the
|
||||
set command are used on the same line. The example given
|
||||
is one way to detect errors found by
|
||||
.Nm "" .
|
||||
.Sh SEE ALSO
|
||||
.Xr sh 1 ,
|
||||
.Xr getopt 3
|
||||
.Sh DIAGNOSTICS
|
||||
.Nm
|
||||
prints an error message on the standard error output when it
|
||||
encounters an option letter not included in
|
||||
.Op optstring .
|
||||
.Sh SEE ALSO
|
||||
.Xr sh 1 ,
|
||||
.Xr getopt 3
|
||||
.Sh HISTORY
|
||||
Written by Henry Spencer, working from a Bell Labs manual page.
|
||||
Behavior believed identical to the Bell version.
|
||||
|
Loading…
x
Reference in New Issue
Block a user