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
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue