Revision 94428652 scripts/gnt-node

b/scripts/gnt-node
79 79
    selected_fields = opts.output.split(",")
80 80

  
81 81
  op = opcodes.OpQueryNodes(output_fields=selected_fields, names=[])
82
  output = SubmitOpCode(op)
82
  output = SubmitOrSend(op, opts)
83 83

  
84 84
  if not opts.no_headers:
85 85
    headers = {
......
335 335
  'info': (ShowNodeConfig, ARGS_ANY, [DEBUG_OPT],
336 336
           "[<node_name>...]", "Show information about the node(s)"),
337 337
  'list': (ListNodes, ARGS_NONE,
338
           [DEBUG_OPT, NOHDR_OPT, SEP_OPT, USEUNITS_OPT, FIELDS_OPT],
338
           [DEBUG_OPT, NOHDR_OPT, SEP_OPT, USEUNITS_OPT, FIELDS_OPT,
339
            SUBMIT_OPT],
339 340
           "", "Lists the nodes in the cluster. The available fields"
340 341
           " are (see the man page for details): name, pinst_cnt, pinst_list,"
341 342
           " sinst_cnt, sinst_list, pip, sip, dtotal, dfree, mtotal, mnode,"

Also available in: Unified diff