From 457697bc13660889c43f0a0e4b3cf3107164ca4d Mon Sep 17 00:00:00 2001
From: Guido Trotter <ultrotter@google.com>
Date: Thu, 6 Mar 2008 16:34:08 +0000
Subject: [PATCH] Fix gnt-instance replace-disks online help

The "quick" online help just reported the option to change secondary node. Add
the ones to just replace the disk locally on-primary or on-secondary. It is of
course impossible to espress in one line everything needed to use this command,
but at least now the most common options are spelled out immediately.

Reviewed-by: iustinp, imsnah
---
 scripts/gnt-instance | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/gnt-instance b/scripts/gnt-instance
index 7d3aa9418..6bfd3e5a5 100755
--- a/scripts/gnt-instance
+++ b/scripts/gnt-instance
@@ -871,7 +871,7 @@ commands = {
                                        " to replace (e.g. sda) (optional,"
                                        " defaults to all disks")),
                      ],
-                    "[-n NODE] <instance>",
+                    "[-s|-p|-n NODE] <instance>",
                     "Replaces all disks for the instance"),
   'modify': (SetInstanceParms, ARGS_ONE,
              [DEBUG_OPT, FORCE_OPT,
-- 
GitLab