Fixed faulty getopt configuration

main
Georg Klein 2022-10-16 14:28:01 +02:00
parent 5fa727d25b
commit 58a5172ff9
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ def main(argv):
addpassword = False
try:
opts, args = getopt.getopt(argv,"hf:d:u:m",["help","file=","domain=","username=","add-mailbox"])
opts, args = getopt.getopt(argv,"hf:d:u:mp",["help","file=","domain=","username=","add-mailbox","add-password"])
except getopt.GetoptError:
print("importUsers.py -f <datafile> -d <domainname> -u <username> [-m] [-p]")
sys.exit(2)