Searched hist:265844 (Results 1 - 3 of 3) sorted by relevance

/freebsd-11.0-release/bin/sh/tests/builtins/
H A Dgetopts6.0265844 Sat May 10 17:47:19 MDT 2014 jilles sh: Don't discard getopts state on unknown option or missing argument.

When getopts finds an invalid option or a missing option-argument, it should
not reset its state and should set OPTIND as normal. This is an old ash bug
that was fixed long ago in dash. Our behaviour now matches most other
shells.
H A Dgetopts7.0265844 Sat May 10 17:47:19 MDT 2014 jilles sh: Don't discard getopts state on unknown option or missing argument.

When getopts finds an invalid option or a missing option-argument, it should
not reset its state and should set OPTIND as normal. This is an old ash bug
that was fixed long ago in dash. Our behaviour now matches most other
shells.
/freebsd-11.0-release/bin/sh/
H A Doptions.cdiff 265844 Sat May 10 17:47:19 MDT 2014 jilles sh: Don't discard getopts state on unknown option or missing argument.

When getopts finds an invalid option or a missing option-argument, it should
not reset its state and should set OPTIND as normal. This is an old ash bug
that was fixed long ago in dash. Our behaviour now matches most other
shells.

Completed in 54 milliseconds