bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/30270] New: Option parser needs non-greedy parsing option


From: npremji at redhat dot com
Subject: [Bug classpath/30270] New: Option parser needs non-greedy parsing option.
Date: 20 Dec 2006 20:04:57 -0000

The option parser currently does not support a non greedy parsing. That is,
when the first non-option argument is parsed it should switch to parsing
non-option files. This should probably be an option rather than a change in
behaviour.

I.e. I should be able to do things like this:
~/prefix/bin/ftrace ~/prefix/lib64/frysk/funit --arch 32 frysk.proc.TestAbandon
ftrace: unrecognized option '--arch'
ftrace: Try 'ftrace -help' for more information

rather than:

~/prefix/bin/ftrace -- ~/prefix/lib64/frysk/funit --arch 32
frysk.proc.TestAbandon


-- 
           Summary: Option parser needs non-greedy parsing option.
           Product: classpath
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: npremji at redhat dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30270





reply via email to

[Prev in Thread] Current Thread [Next in Thread]