[Svnmerge] Command line options order

Giovanni Bajo rasky at develer.com
Fri Nov 4 14:22:52 PST 2005


Blair Zajac <blair at orcaware.com> wrote:

>> 1) Tweak OptionParser._fancy_getopt code to accept command-specific
>> option before the command itself is seen on the command line (and I
>> accept suggestion on how to parse the command line then).
>
> How about making all the options parsed by the global option parsing
> code and have each subcommand throw an error if there's an option it
> doesn't use.  Kinda the negative of what is currently being done.

Sounds like a solution. I'm just a bit skeptical about the concept, but I'll
trust your expertise.

Giovanni Bajo




More information about the Svnmerge mailing list