Print help on errors.

This commit is contained in:
Bastian Kleineidam 2012-02-12 09:17:17 +01:00
parent 6699e833b4
commit 66a368419a
1 changed files with 1 additions and 0 deletions

1
patool
View File

@ -89,4 +89,5 @@ try:
sys.exit(baker.run())
except baker.CommandError, msg:
print >>sys.stderr, "patool error:", msg
baker.help(sys.argv[0])
sys.exit(1)