Revision f92ed8ab
b/lib/cli.py | ||
---|---|---|
169 | 169 |
"SELECT_OS_OPT", |
170 | 170 |
"SEP_OPT", |
171 | 171 |
"SHOWCMD_OPT", |
172 |
"SHOW_MACHINE_OPT", |
|
172 | 173 |
"SHUTDOWN_TIMEOUT_OPT", |
173 | 174 |
"SINGLE_NODE_OPT", |
174 | 175 |
"SPECS_CPU_COUNT_OPT", |
... | ... | |
1335 | 1336 |
constants.IP6_VERSION), |
1336 | 1337 |
help="Cluster-wide IP version for primary IP") |
1337 | 1338 |
|
1339 |
SHOW_MACHINE_OPT = cli_option("-M", "--show-machine-names", default=False, |
|
1340 |
action="store_true", |
|
1341 |
help="Show machine name for every line in output") |
|
1342 |
|
|
1338 | 1343 |
|
1339 | 1344 |
def _PriorityOptionCb(option, _, value, parser): |
1340 | 1345 |
"""Callback for processing C{--priority} option. |
b/lib/client/gnt_cluster.py | ||
---|---|---|
53 | 53 |
action="store_true", dest="groups", |
54 | 54 |
help="Arguments are node groups instead of nodes") |
55 | 55 |
|
56 |
SHOW_MACHINE_OPT = cli_option("-M", "--show-machine-names", default=False, |
|
57 |
action="store_true", |
|
58 |
help="Show machine name for every line in output") |
|
59 |
|
|
60 | 56 |
FORCE_FAILOVER = cli_option("--yes-do-it", dest="yes_do_it", |
61 | 57 |
help="Override interactive check for --no-voting", |
62 | 58 |
default=False, action="store_true") |
Also available in: Unified diff