Revision bc8e4a1a scripts/gnt-node
b/scripts/gnt-node | ||
---|---|---|
119 | 119 |
else: |
120 | 120 |
selected_fields = opts.output.split(",") |
121 | 121 |
|
122 |
output = GetClient().QueryNodes([], selected_fields, True)
|
|
122 |
output = GetClient().QueryNodes([], selected_fields, opts.do_locking)
|
|
123 | 123 |
|
124 | 124 |
if not opts.no_headers: |
125 | 125 |
headers = _LIST_HEADERS |
... | ... | |
495 | 495 |
"[<node_name>...]", "Show information about the node(s)"), |
496 | 496 |
'list': (ListNodes, ARGS_NONE, |
497 | 497 |
[DEBUG_OPT, NOHDR_OPT, SEP_OPT, USEUNITS_OPT, FIELDS_OPT, |
498 |
SUBMIT_OPT], |
|
498 |
SUBMIT_OPT, SYNC_OPT],
|
|
499 | 499 |
"", "Lists the nodes in the cluster. The available fields" |
500 | 500 |
" are (see the man page for details): %s" |
501 | 501 |
" The default field list is (in order): %s." % |
Also available in: Unified diff