Revision feb09e6a lib/cli.py
b/lib/cli.py | ||
---|---|---|
74 | 74 |
"NOSTART_OPT", |
75 | 75 |
"NWSYNC_OPT", |
76 | 76 |
"ON_PRIMARY_OPT", |
77 |
"ON_SECONDARY_OPT", |
|
77 | 78 |
"OS_OPT", |
78 | 79 |
"OS_SIZE_OPT", |
79 | 80 |
"SELECT_OS_OPT", |
... | ... | |
648 | 649 |
help="Replace the disk(s) on the primary" |
649 | 650 |
" node (only for the drbd template)") |
650 | 651 |
|
652 |
ON_SECONDARY_OPT = cli_option("-s", "--on-secondary", dest="on_secondary", |
|
653 |
default=False, action="store_true", |
|
654 |
help="Replace the disk(s) on the secondary" |
|
655 |
" node (only for the drbd template)") |
|
656 |
|
|
651 | 657 |
|
652 | 658 |
def _ParseArgs(argv, commands, aliases): |
653 | 659 |
"""Parser for the command line arguments. |
Also available in: Unified diff