diff --git a/lib/cli.py b/lib/cli.py index dcc13ad156813c0c30197f7c0658b98d82a8174c..e156e44cdc7c8c808a875d6ecc37e3fed32dd440 100644 --- a/lib/cli.py +++ b/lib/cli.py @@ -804,7 +804,8 @@ NODE_LIST_OPT = cli_option("-n", "--node", dest="nodes", default=[], " times, if not given defaults to all nodes)", completion_suggest=OPT_COMPL_ONE_NODE) -NODEGROUP_OPT = cli_option("-g", "--node-group", +NODEGROUP_OPT_NAME = "--node-group" +NODEGROUP_OPT = cli_option("-g", NODEGROUP_OPT_NAME, dest="nodegroup", help="Node group (name or uuid)", metavar="<nodegroup>",