diff options
Diffstat (limited to 'usr.bin/getopt')
-rw-r--r-- | usr.bin/getopt/getopt.1 | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.bin/getopt/getopt.1 b/usr.bin/getopt/getopt.1 index 7d34e4e..ef4c395 100644 --- a/usr.bin/getopt/getopt.1 +++ b/usr.bin/getopt/getopt.1 @@ -35,6 +35,12 @@ preceded by a .Ql \- and in its own shell argument; each option argument is also in its own shell argument. +.Sh EXIT STATUS +The +.Nm +utility prints an error message on the standard error output and exits with +status > 0 when it encounters an option letter not included in +.Ar optstring . .Sh EXAMPLES The following code fragment shows how one might process the arguments for a command that can take the options @@ -88,12 +94,6 @@ cmd \-a \-oarg \-\- file file .Xr getopts 1 , .Xr sh 1 , .Xr getopt 3 -.Sh EXIT STATUS -The -.Nm -utility prints an error message on the standard error output and exits with -status > 0 when it encounters an option letter not included in -.Ar optstring . .Sh HISTORY Written by .An Henry Spencer , |