| By Date: | <-- --> |
| By Thread: | <-- --> |
Matthew Good wrote:
Well, the --auth option can go in any order in relation to other "options", but the list of project names are "arguments", not options. Options being "-p", "-d", "--auth", or anything else starting with a dash. Arguments are the list of additional items at the end which can be anything (in this case project paths). The default behavior of the OptionParser class in Python is not to allow options and arguments to be interspersed.
http://www.python.org/doc/current/lib/optparse-other-methods.html
http://www.python.org/doc/current/lib/module-getopt.html
-John _______________________________________________ Trac mailing list Trac (at) lists.edgewall.com http://lists.edgewall.com/mailman/listinfo/trac