]> arthur.barton.de Git - bup.git/commit
Add an options.fatal() function and use it.
authorAvery Pennarun <apenwarr@gmail.com>
Sun, 28 Feb 2010 18:07:48 +0000 (13:07 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Sun, 28 Feb 2010 19:17:59 +0000 (14:17 -0500)
commit567f487fcfeeb83399dbce92c37cf3b56ad6abfc
tree719f91145dcf6cd3d003028987e2e58c9204e3ff
parent598a939946ae1f30c941252347fbfa085ea186d3
Add an options.fatal() function and use it.

Every existing call to o.usage() was preceded by an error message that
printed the exename, then the error message.  So let's add a fatal()
function that does it all in one step.  This reduces the net number of lines
plus improves consistency.
15 files changed:
bup.py
cmd-damage.py
cmd-drecurse.py
cmd-fuse.py
cmd-index.py
cmd-init.py
cmd-margin.py
cmd-midx.py
cmd-random.py
cmd-save.py
cmd-server.py
cmd-split.py
cmd-tick.py
memtest.py
options.py