diff options
Diffstat (limited to 'src/lib/libc/stdlib/getopt.3')
| -rw-r--r-- | src/lib/libc/stdlib/getopt.3 | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/lib/libc/stdlib/getopt.3 b/src/lib/libc/stdlib/getopt.3 index 82f74c2c1a..ecdf42ab76 100644 --- a/src/lib/libc/stdlib/getopt.3 +++ b/src/lib/libc/stdlib/getopt.3 | |||
| @@ -25,9 +25,9 @@ | |||
| 25 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | 25 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
| 26 | .\" SUCH DAMAGE. | 26 | .\" SUCH DAMAGE. |
| 27 | .\" | 27 | .\" |
| 28 | .\" $OpenBSD: getopt.3,v 1.41 2009/04/12 23:13:36 okan Exp $ | 28 | .\" $OpenBSD: getopt.3,v 1.42 2011/03/05 22:10:11 guenther Exp $ |
| 29 | .\" | 29 | .\" |
| 30 | .Dd $Mdocdate: April 12 2009 $ | 30 | .Dd $Mdocdate: March 5 2011 $ |
| 31 | .Dt GETOPT 3 | 31 | .Dt GETOPT 3 |
| 32 | .Os | 32 | .Os |
| 33 | .Sh NAME | 33 | .Sh NAME |
| @@ -158,15 +158,6 @@ is set to the character that caused the error. | |||
| 158 | The | 158 | The |
| 159 | .Fn getopt | 159 | .Fn getopt |
| 160 | function returns \-1 when the argument list is exhausted. | 160 | function returns \-1 when the argument list is exhausted. |
| 161 | .Sh ENVIRONMENT | ||
| 162 | .Bl -tag -width POSIXLY_CORRECTXX | ||
| 163 | .It Ev POSIXLY_CORRECT | ||
| 164 | If set, a leading | ||
| 165 | .Sq - | ||
| 166 | in | ||
| 167 | .Ar optstring | ||
| 168 | is ignored. | ||
| 169 | .El | ||
| 170 | .Sh EXAMPLES | 161 | .Sh EXAMPLES |
| 171 | The following code accepts the options | 162 | The following code accepts the options |
| 172 | .Fl b | 163 | .Fl b |
