summaryrefslogtreecommitdiff
path: root/alot/init.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2013-06-02 21:16:38 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2013-06-02 21:16:38 +0100
commit05a09c8ec9ff5b40ad395ac69a95abbc572401cd (patch)
tree29eed3b56db162370c9813fa2438f7235dc0cc6f /alot/init.py
parenta7b3493a5603384b875bb4df37f3d9c1bae4d8bf (diff)
doc: clean up error message for invalid subcommands
Diffstat (limited to 'alot/init.py')
-rwxr-xr-xalot/init.py4
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