This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Fix gij --verbose command line parsing


>>>>> "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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]