redirected usage text to stderr

This commit is contained in:
alterNERDtive 2020-01-15 09:09:15 +01:00
parent c23e9ad58b
commit fad3bd4adb

View file

@ -124,7 +124,7 @@ try:
elif args.subCommand == "systemlist":
out = getSystemList(args.partialsystem)
else:
parser.print_usage()
parser.print_usage(sys.stderr)
sys.exit(1)
except ServerError as e:
print(e)