Revision 7ea7bcf6 lib/cli.py
b/lib/cli.py | ||
---|---|---|
56 | 56 |
"DISK_OPT", |
57 | 57 |
"DISK_TEMPLATE_OPT", |
58 | 58 |
"DRAINED_OPT", |
59 |
"EARLY_RELEASE_OPT", |
|
59 | 60 |
"ENABLED_HV_OPT", |
60 | 61 |
"ERROR_CODES_OPT", |
61 | 62 |
"FIELDS_OPT", |
... | ... | |
837 | 838 |
default=constants.DEFAULT_SHUTDOWN_TIMEOUT, |
838 | 839 |
help="Maximum time to wait for instance shutdown") |
839 | 840 |
|
841 |
EARLY_RELEASE_OPT = cli_option("--early-release", |
|
842 |
dest="early_release", default=False, |
|
843 |
action="store_true", |
|
844 |
help="Release the locks on the secondary" |
|
845 |
" node(s) early") |
|
846 |
|
|
840 | 847 |
|
841 | 848 |
def _ParseArgs(argv, commands, aliases): |
842 | 849 |
"""Parser for the command line arguments. |
Also available in: Unified diff