Make the parsing of command line getopt-compliant.
Compare changes
These commits make Why3 follow the getopt
standard way of parsing command-line options.
Benefits:
-Lfoo
and -L foo
both work.why3 wc -tfa
.--smoke-detector
instead of --smoke-detector=top
.getopt
way is standard!Downsides:
=
sign, e.g., --library foo
is no longer recognized; --library=foo
(or -L foo
) should be used instead. Note that the --library=foo
style was already recognized before, so compatibility can be ensured.