On Fri, Jul 27, 2012 at 10:26 AM, Ian Kelly <ian.g.ke...@gmail.com> wrote:
> It may be a bit awkward having to type "-i" once per file in the
> command line, but it does clear up the ambiguity.

Or you could bite the bullet and make the input files argument part of
the subparser, which you may find ugly, but I believe it's more
typical of how other tools with subcommands normally work.  If one of
your subcommands is a "help" command, do you really want that to
accept input files?
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to