diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-05-27 13:09:10 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1999-05-27 13:09:10 +0000 |
commit | 021b4e4e535912d83db7166ea8b208945f0e190f (patch) | |
tree | 4945ec21a157bf30107474e8ec02eba68b754df0 | |
parent | c53541bcc2b27b89b9fbc5ef131171f881952373 (diff) |
getopt(3) does not return -1 when encountering unrecognized options
-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 -- |