diff --git a/scripts/gnt-instance b/scripts/gnt-instance index 12bcf2f62a42e6e453cba7c7d57e8778bc75ae4a..a5c30c8b795d8559862d9894a4ac3444a93a975b 100755 --- a/scripts/gnt-instance +++ b/scripts/gnt-instance @@ -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, diff --git a/scripts/gnt-node b/scripts/gnt-node index a49eb3d0fe96fa61575ef4b17b8af783b10f9791..40bf5946817515a6c53ecb5ea6220def684f2ef7 100755 --- a/scripts/gnt-node +++ b/scripts/gnt-node @@ -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,