John Hampton wrote:
If a lucky person, like me, doesn't bother to read tracd --help before trying to use authentication, they will get a beautiful little traceback complaining about usage not being defined.

Attached is a little patch to fix the issue. It simply raises an OptionValueError from the optparse callback per http://www.python.org/doc/current/lib/optparse-raising-errors-in-callback.html

It's a pretty small patch, so I wasn't going to create a ticket, however, if one thinks I should, I'll be happy to do so.

This is against trunk-r2979

Thanks, applied in r2981.

Cheers,
Jonas
_______________________________________________
Trac-dev mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-dev

Reply via email to