tools/mail.py should return a non-zero exit status when invalid command line args are given
This commit is contained in:
parent
58e300e113
commit
b6713d9a17
|
@ -103,4 +103,5 @@ elif sys.argv[1] == "alias" and sys.argv[2] == "remove" and len(sys.argv) == 4:
|
||||||
|
|
||||||
else:
|
else:
|
||||||
print("Invalid command-line arguments.")
|
print("Invalid command-line arguments.")
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue