tools/mail.py should return a non-zero exit status when invalid command line args are given

This commit is contained in:
Joshua Tauberer 2014-08-10 14:10:25 +00:00
parent 58e300e113
commit b6713d9a17

View file

@ -103,4 +103,5 @@ elif sys.argv[1] == "alias" and sys.argv[2] == "remove" and len(sys.argv) == 4:
else:
print("Invalid command-line arguments.")
sys.exit(1)