Revision 5fbbd028 lib/cli.py

b/lib/cli.py
99 99
  "NIC_PARAMS_OPT",
100 100
  "NODE_LIST_OPT",
101 101
  "NODE_PLACEMENT_OPT",
102
  "NODEGROUP_OPT",
102 103
  "NODRBD_STORAGE_OPT",
103 104
  "NOHDR_OPT",
104 105
  "NOIPCHECK_OPT",
......
737 738
                           " times, if not given defaults to all nodes)",
738 739
                           completion_suggest=OPT_COMPL_ONE_NODE)
739 740

  
741
NODEGROUP_OPT = cli_option("-g", "--nodegroup",
742
                           dest="nodegroup",
743
                           help="Node group (name or uuid)",
744
                           metavar="<nodegroup>",
745
                           default=None, type="string",
746
                           completion_suggest=OPT_COMPL_ONE_NODEGROUP)
747

  
740 748
SINGLE_NODE_OPT = cli_option("-n", "--node", dest="node", help="Target node",
741 749
                             metavar="<node>",
742 750
                             completion_suggest=OPT_COMPL_ONE_NODE)

Also available in: Unified diff