From 58a5172ff9f7cfe5890b4f5086d18fbdd1272318 Mon Sep 17 00:00:00 2001 From: Georg Klein Date: Sun, 16 Oct 2022 14:28:01 +0200 Subject: [PATCH] Fixed faulty getopt configuration --- importUsers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importUsers.py b/importUsers.py index dc75da8..34c1ebf 100755 --- a/importUsers.py +++ b/importUsers.py @@ -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 -d -u [-m] [-p]") sys.exit(2)