This commit is contained in:
Jakob Ketterl 2021-02-06 19:03:28 +01:00
parent 732985c529
commit 635bf55465
1 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,9 @@ def main():
parser = argparse.ArgumentParser()
parser.add_argument("command", help="One of the following commands: adduser, removeuser")
parser.add_argument("--noninteractive", action="store_true", help="Don't ask for any user input (useful for automation)")
parser.add_argument(
"--noninteractive", action="store_true", help="Don't ask for any user input (useful for automation)"
)
parser.add_argument("--silent", action="store_true", help="Ignore errors (useful for automation)")
parser.add_argument("-u", "--user", help="User name to perform action upon")
args = parser.parse_args()