Fixed faulty getopt configuration
parent
5fa727d25b
commit
58a5172ff9
|
|
@ -62,7 +62,7 @@ def main(argv):
|
||||||
addpassword = False
|
addpassword = False
|
||||||
|
|
||||||
try:
|
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:
|
except getopt.GetoptError:
|
||||||
print("importUsers.py -f <datafile> -d <domainname> -u <username> [-m] [-p]")
|
print("importUsers.py -f <datafile> -d <domainname> -u <username> [-m] [-p]")
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue