Fix gij --verbose command line parsing
Tom Tromey
tromey@redhat.com
Fri Feb 11 02:11:00 GMT 2005
>>>>> "Mark" == Mark Wielaard <mark@klomp.org> writes:
Mark> gij --help tells us to use --verbose or --verbose:class, but the actual
Mark> command line parsing got it wrong. Since all long options start with --
Mark> this one should also.
Mark> 2005-02-10 Mark Wielaard <mark@klomp.org>
Mark> * gij.cc (main): Correctly parse --verbose.
Mark> OK to commit?
I think we ought to recognize both "-" and "--" for long options.
In fact we try to do that:
/* Allow both single or double hyphen for all remaining
options. */
if (arg[1] == '-')
++arg;
Why does this not work?
Tom
More information about the Java-patches
mailing list