Skip to content
Snippets Groups Projects
Unverified Commit 5b9179e0 authored by Ravi Tripathi's avatar Ravi Tripathi Committed by GitHub
Browse files

Merge pull request #128 from eesaanatluri/feat-handle-input-error-acctmgr

Feat handle input error acctmgr
parents 3dcf3515 e4f66eed
No related branches found
No related tags found
1 merge request!147Merge previous default branch feat-cod-rmq into main
......@@ -14,7 +14,7 @@ parser = argparse.ArgumentParser(description = "Account management driver script
parser.add_argument(
"username", help="Username that should be locked/unlocked")
parser.add_argument(
"state", help="Choose from states (ok,block,certify) to put the user in")
"state", choices=['ok', 'blocked', 'certification'], help="Choose from states (ok,blocked,certification)")
parser.add_argument(
"-s", "--service", nargs='+', default='all', choices=['ssh', 'newjobs', 'expiration', 'all'], help="List one or more services to be blocked (default: %(default)s)")
parser.add_argument(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment