diff options
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libc/stdlib/getopt.3 | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/lib/libc/stdlib/getopt.3 b/src/lib/libc/stdlib/getopt.3 index 796541184f..61babea046 100644 --- a/src/lib/libc/stdlib/getopt.3 +++ b/src/lib/libc/stdlib/getopt.3 | |||
@@ -25,7 +25,7 @@ | |||
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.38 2006/03/15 02:50:25 ray Exp $ | 28 | .\" $OpenBSD: getopt.3,v 1.39 2007/04/10 20:35:34 millert Exp $ |
29 | .\" | 29 | .\" |
30 | .Dd December 17, 2002 | 30 | .Dd December 17, 2002 |
31 | .Dt GETOPT 3 | 31 | .Dt GETOPT 3 |
@@ -300,22 +300,6 @@ By default, a single dash causes | |||
300 | to return \-1. | 300 | to return \-1. |
301 | .El | 301 | .El |
302 | .Pp | 302 | .Pp |
303 | Unlike | ||
304 | .Tn GNU | ||
305 | .Fn getopt , | ||
306 | .Ox | ||
307 | does not permute the argument vector to allow non-options to be | ||
308 | interspersed with options on the command line. | ||
309 | Programs requiring this behavior should use | ||
310 | .Xr getopt_long 3 | ||
311 | instead. | ||
312 | Because of this (and unlike | ||
313 | .Tn GNU ) , | ||
314 | the | ||
315 | .Ox | ||
316 | .Fn getopt | ||
317 | supports optional arguments separated by whitespace. | ||
318 | .Pp | ||
319 | Historic | 303 | Historic |
320 | .Bx | 304 | .Bx |
321 | versions of | 305 | versions of |