Fixed faulty getopt configuration
parent
5fa727d25b
commit
58a5172ff9
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue