summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libc/stdlib/getopt.318
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
300to return \-1. 300to return \-1.
301.El 301.El
302.Pp 302.Pp
303Unlike
304.Tn GNU
305.Fn getopt ,
306.Ox
307does not permute the argument vector to allow non-options to be
308interspersed with options on the command line.
309Programs requiring this behavior should use
310.Xr getopt_long 3
311instead.
312Because of this (and unlike
313.Tn GNU ) ,
314the
315.Ox
316.Fn getopt
317supports optional arguments separated by whitespace.
318.Pp
319Historic 303Historic
320.Bx 304.Bx
321versions of 305versions of