Skip to content
Snippets Groups Projects
Commit ada8f477 authored by Eesaan Atluri's avatar Eesaan Atluri
Browse files

Add new lines for readability

parent bfb023a7
No related branches found
No related tags found
2 merge requests!147Merge previous default branch feat-cod-rmq into main,!119Feat account management
...@@ -11,11 +11,12 @@ import rabbit_config as rcfg ...@@ -11,11 +11,12 @@ import rabbit_config as rcfg
import time import time
parser = argparse.ArgumentParser(description = "Account management driver script") 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")
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( parser.add_argument(
"-a", "--all", help="Block all services") "username", help="Username that should be locked/unlocked")
parser.add_argument(
"state", help="Choose from states (ok,block,certify) to put the user in")
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( parser.add_argument(
"-v", "--verbose", action="store_true", help="verbose output") "-v", "--verbose", action="store_true", help="verbose output")
parser.add_argument( 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