R. Bernstein wrote:

> It seems that with all of the flexibility of optparse it should handle
> this. I'm not sure right now what the best way to do so would be
> though. Suggestions?


If you call OptionParser.disable_interspersed_args() on your parser, it will
stop parsing at the first positional argument, leaving other options unparsed.
-- 
Giovanni Bajo


-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to