summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2007-04-10 20:35:34 +0000
committermillert <millert@openbsd.org>2007-04-10 20:35:34 +0000
commitd9765179d3c8c37de15e1eb83de80eeca28e0cb3 (patch)
treeb60ab75c2080031df4d84a83ae532ece52d64a09 /lib/libc
parentAdd bbc(4) and pmc(4). (diff)
downloadwireguard-openbsd-d9765179d3c8c37de15e1eb83de80eeca28e0cb3.tar.xz
wireguard-openbsd-d9765179d3c8c37de15e1eb83de80eeca28e0cb3.zip
Support for optional args separated with whitespace was removed
some time ago--it caused too many problems.
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/stdlib/getopt.318
1 files changed, 1 insertions, 17 deletions
diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3
index 796541184f6..61babea046b 100644
--- a/lib/libc/stdlib/getopt.3
+++ b/lib/libc/stdlib/getopt.3
@@ -25,7 +25,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $OpenBSD: getopt.3,v 1.38 2006/03/15 02:50:25 ray Exp $
+.\" $OpenBSD: getopt.3,v 1.39 2007/04/10 20:35:34 millert Exp $
.\"
.Dd December 17, 2002
.Dt GETOPT 3
@@ -300,22 +300,6 @@ By default, a single dash causes
to return \-1.
.El
.Pp
-Unlike
-.Tn GNU
-.Fn getopt ,
-.Ox
-does not permute the argument vector to allow non-options to be
-interspersed with options on the command line.
-Programs requiring this behavior should use
-.Xr getopt_long 3
-instead.
-Because of this (and unlike
-.Tn GNU ) ,
-the
-.Ox
-.Fn getopt
-supports optional arguments separated by whitespace.
-.Pp
Historic
.Bx
versions of