Commit 633b36db authored by Iustin Pop's avatar Iustin Pop
Browse files

Always use the same short option for iallocator

This patch changes the scripts so that the short name for the
“--iallocator” option is always ‘-I’.

Reviewed-by: ultrotter
parent 4082e6f9
......@@ -1420,7 +1420,7 @@ commands = {
help=("Comma-separated list of disks"
" to replace (e.g. sda) (optional,"
" defaults to all disks")),
make_option("-i", "--iallocator", metavar="<NAME>",
make_option("-I", "--iallocator", metavar="<NAME>",
help="Select new secondary for the instance"
" automatically using the"
" <NAME> iallocator plugin (enables"
......@@ -1428,7 +1428,7 @@ commands = {
default=None, type="string"),
SUBMIT_OPT,
],
"[-s|-p|-n NODE] <instance>",
"[-s|-p|-n NODE|-I NAME] <instance>",
"Replaces all disks for the instance"),
'modify': (SetInstanceParams, ARGS_ONE,
[DEBUG_OPT, FORCE_OPT,
......
......@@ -495,13 +495,13 @@ commands = {
make_option("-n", "--new-secondary", dest="dst_node",
help="New secondary node", metavar="NODE",
default=None),
make_option("-i", "--iallocator", metavar="<NAME>",
make_option("-I", "--iallocator", metavar="<NAME>",
help="Select new secondary for the instance"
" automatically using the"
" <NAME> iallocator plugin",
default=None, type="string"),
],
"[-f] {-i <iallocator> | -n <dst>} <node>",
"[-f] {-I <iallocator> | -n <dst>} <node>",
"Relocate the secondary instances from a node"
" to other nodes (only for instances with drbd disk template)"),
'failover': (FailoverNode, ARGS_ONE,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment