]> arthur.barton.de Git - bup.git/commit
options.py: o.fatal(): print error after, not before, usage message.
authorAvery Pennarun <apenwarr@gmail.com>
Sun, 20 Feb 2011 05:37:16 +0000 (21:37 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 20 Feb 2011 05:38:28 +0000 (21:38 -0800)
commit5a9bc0a6c31d2d0824261685b6ce7a359729436d
tree1465bc29dd5c28b5737a135dc4bb9d5ab57ba3c1
parentc078168c16a21eb6cabf02f75a918a0874793976
options.py: o.fatal(): print error after, not before, usage message.

git prints the error *before* the usage message, but the more I play with
it, the more I'm annoyed by that behaviour.  The usage message can be pretty
long, and the error gots lost way above the usage message.  The most
important thing *is* the error, so let's print it last.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
lib/bup/options.py
main.py