add help
This commit is contained in:
parent
9c5858e1e5
commit
732985c529
@ -12,7 +12,7 @@ def main():
|
|||||||
parser.add_argument("command", help="One of the following commands: adduser, removeuser")
|
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("--silent", action="store_true", help="Ignore errors (useful for automation)")
|
||||||
parser.add_argument("-u", "--user")
|
parser.add_argument("-u", "--user", help="User name to perform action upon")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
|
|
||||||
if args.command == "adduser":
|
if args.command == "adduser":
|
||||||
|
Loading…
Reference in New Issue
Block a user