Revision 7e5eaaa8
b/lib/cli.py | ||
---|---|---|
103 | 103 |
"SELECT_OS_OPT", |
104 | 104 |
"SEP_OPT", |
105 | 105 |
"SHOWCMD_OPT", |
106 |
"SHUTDOWN_TIMEOUT_OPT", |
|
106 | 107 |
"SINGLE_NODE_OPT", |
107 | 108 |
"SRC_DIR_OPT", |
108 | 109 |
"SRC_NODE_OPT", |
... | ... | |
820 | 821 |
default=constants.DEFAULT_SHUTDOWN_TIMEOUT, |
821 | 822 |
help="Maximum time to wait") |
822 | 823 |
|
824 |
SHUTDOWN_TIMEOUT_OPT = cli_option("--shutdown-timeout", dest="timeout", |
|
825 |
type="int", |
|
826 |
default=constants.DEFAULT_SHUTDOWN_TIMEOUT, |
|
827 |
help="Maximum time to wait for instance shutdown") |
|
828 |
|
|
823 | 829 |
|
824 | 830 |
def _ParseArgs(argv, commands, aliases): |
825 | 831 |
"""Parser for the command line arguments. |
Also available in: Unified diff