Revision 44c44832 lib/cli.py
b/lib/cli.py | ||
---|---|---|
87 | 87 |
"NONICS_OPT", |
88 | 88 |
"NONLIVE_OPT", |
89 | 89 |
"NONPLUS1_OPT", |
90 |
"NOSHUTDOWN_OPT", |
|
90 | 91 |
"NOSTART_OPT", |
91 | 92 |
"NOSSH_KEYCHECK_OPT", |
92 | 93 |
"NOVOTING_OPT", |
... | ... | |
804 | 805 |
default=False, action="store_true", |
805 | 806 |
help="Ignore errors from secondaries") |
806 | 807 |
|
808 |
NOSHUTDOWN_OPT = cli_option("","--noshutdown", dest="shutdown", |
|
809 |
action="store_false", default=True, |
|
810 |
help="Don't shutdown the instance (unsafe)") |
|
811 |
|
|
812 |
|
|
807 | 813 |
|
808 | 814 |
def _ParseArgs(argv, commands, aliases): |
809 | 815 |
"""Parser for the command line arguments. |
Also available in: Unified diff