diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2005-01-18 13:43:56 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2005-01-18 13:43:56 +0000 |
| commit | 6c7216df785592bb069469113f556dfd1946ed5d (patch) | |
| tree | 4ff679e02e4f5503cdcbf47f6fd1aa832ff79d14 /usr.bin/getopt | |
| parent | 55bf0e44752ba3432c3e4632c45263d5795e0aa9 (diff) | |
Notes
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 7d34e4e6f3ad..ef4c39521e2b 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 , |
