Revision f1de3563 scripts/gnt-node

b/scripts/gnt-node
142 142
  else:
143 143
    selected_fields = opts.output.split(",")
144 144

  
145
  output = GetClient().QueryNodes([], selected_fields, opts.do_locking)
145
  output = GetClient().QueryNodes(args, selected_fields, opts.do_locking)
146 146

  
147 147
  if not opts.no_headers:
148 148
    headers = _LIST_HEADERS
......
528 528
               " (only for instances of type drbd)"),
529 529
  'info': (ShowNodeConfig, ARGS_ANY, [DEBUG_OPT],
530 530
           "[<node_name>...]", "Show information about the node(s)"),
531
  'list': (ListNodes, ARGS_NONE,
532
           [DEBUG_OPT, NOHDR_OPT, SEP_OPT, USEUNITS_OPT, FIELDS_OPT,
533
            SUBMIT_OPT, SYNC_OPT],
534
           "", "Lists the nodes in the cluster. The available fields"
531
  'list': (ListNodes, ARGS_ANY,
532
           [DEBUG_OPT, NOHDR_OPT, SEP_OPT, USEUNITS_OPT, FIELDS_OPT, SYNC_OPT],
533
           "[nodes...]",
534
           "Lists the nodes in the cluster. The available fields"
535 535
           " are (see the man page for details): %s"
536 536
           " The default field list is (in order): %s." %
537 537
           (", ".join(_LIST_HEADERS), ", ".join(_LIST_DEF_FIELDS))),

Also available in: Unified diff