Revision a59d5fa1 lib/cli.py
b/lib/cli.py | ||
---|---|---|
165 | 165 |
"PRIORITY_OPT", |
166 | 166 |
"RAPI_CERT_OPT", |
167 | 167 |
"READD_OPT", |
168 |
"REASON_OPT", |
|
168 | 169 |
"REBOOT_TYPE_OPT", |
169 | 170 |
"REMOVE_INSTANCE_OPT", |
170 | 171 |
"REMOVE_RESERVED_IPS_OPT", |
... | ... | |
1389 | 1390 |
help=("Hide successful results and show failures" |
1390 | 1391 |
" only (determined by the exit code)")) |
1391 | 1392 |
|
1393 |
REASON_OPT = cli_option("--reason", default=None, |
|
1394 |
help="The reason for executing a VM-state-changing" |
|
1395 |
" operation") |
|
1396 |
|
|
1392 | 1397 |
|
1393 | 1398 |
def _PriorityOptionCb(option, _, value, parser): |
1394 | 1399 |
"""Callback for processing C{--priority} option. |
Also available in: Unified diff