diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2013-06-02 21:16:38 +0100 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2013-06-02 21:16:38 +0100 |
commit | 05a09c8ec9ff5b40ad395ac69a95abbc572401cd (patch) | |
tree | 29eed3b56db162370c9813fa2438f7235dc0cc6f /alot | |
parent | a7b3493a5603384b875bb4df37f3d9c1bae4d8bf (diff) |
doc: clean up error message for invalid subcommands
Diffstat (limited to 'alot')
-rwxr-xr-x | alot/init.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/init.py b/alot/init.py index 0e857eaa..af6cf1b1 100755 --- a/alot/init.py +++ b/alot/init.py @@ -111,8 +111,8 @@ def main(): try: args.parseOptions() # When given no argument, parses sys.argv[1:] except usage.UsageError, errortext: - print '%s: %s' % (sys.argv[0], errortext) - print '%s: Try --help for usage details.' % (sys.argv[0]) + print '%s' % errortext + print 'Try --help for usage details.' sys.exit(1) # logging |