This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: Fix gij --verbose command line parsing
- From: Tom Tromey <tromey at redhat dot com>
- To: Mark Wielaard <mark at klomp dot org>
- Cc: java-patches at gcc dot gnu dot org
- Date: 10 Feb 2005 17:19:35 -0700
- Subject: Re: Fix gij --verbose command line parsing
- References: <1108078970.28034.4.camel@localhost>
- Reply-to: tromey at redhat dot com
>>>>> "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