diff --git a/clusterman/__main__.py b/clusterman/__main__.py index 98dff99..83a559b 100644 --- a/clusterman/__main__.py +++ b/clusterman/__main__.py @@ -21,7 +21,7 @@ def main(): # Exec node_cmd_list=node_subparsers.add_parser("exec") node_cmd_list.add_argument("-g", "--group" ,help="Group to run the command on") - node_cmd_list.add_argument("-l", "--login" ,help="Use ssh username and password", action='store_false') + node_cmd_list.add_argument("-l", "--login" ,help="Use ssh username and password", action='store_true',default=False) node_cmd_list.add_argument("cmd",help="Command to run",nargs=argparse.REMAINDER) ##### Frontend commands #####