diff options
author | 1999-05-27 13:09:09 +0000 | |
---|---|---|
committer | 1999-05-27 13:09:09 +0000 | |
commit | 51fa7c671a4c7973ad40b82e84c052165fdc1072 (patch) | |
tree | c84869549069295dbd71134e8c810ae685337704 /lib/libc/stdlib | |
parent | Real fix... this goes into OPTIMIZE, not CCFLAGS. (diff) | |
download | wireguard-openbsd-51fa7c671a4c7973ad40b82e84c052165fdc1072.tar.xz wireguard-openbsd-51fa7c671a4c7973ad40b82e84c052165fdc1072.zip |
getopt(3) does not return -1 when encountering unrecognized options
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r-- | lib/libc/stdlib/getopt.3 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/libc/stdlib/getopt.3 b/lib/libc/stdlib/getopt.3 index 1697f58ec86..57d2c3668b8 100644 --- a/lib/libc/stdlib/getopt.3 +++ b/lib/libc/stdlib/getopt.3 @@ -29,7 +29,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $OpenBSD: getopt.3,v 1.7 1999/05/23 14:11:03 aaron Exp $ +.\" $OpenBSD: getopt.3,v 1.8 1999/05/27 13:09:09 aaron Exp $ .\" .Dd April 19, 1994 .Dt GETOPT 3 @@ -121,8 +121,7 @@ The .Fn getopt function returns \-1 -when the argument list is exhausted, or a non-recognized -option is encountered. +when the argument list is exhausted. The interpretation of options in the argument list may be cancelled by the option .Ql -- |