1
0
mirror of https://github.com/wting/autojump synced 2024-10-27 20:34:07 +00:00

Send error message to stderr

This commit is contained in:
Joël Schaerer 2011-09-09 13:04:35 +02:00
parent b2985f3255
commit a4f4472046

View File

@ -171,7 +171,7 @@ def shell_utility():
optlist, args = getopt.getopt(argv[1:], 'a',
['stat', 'import', 'completion', 'bash'])
except getopt.GetoptError as ex:
print("Unknown command line argument: %s" % ex)
print("Unknown command line argument: %s" % ex, file=stderr)
exit(1)
dic_file = get_dic_file()