Patchwork [BUG:1528] Hiding add-brick/remove-brick type option

login
register
Submitter shishir gowda
Date 2010-09-04 10:28:17
Message ID <20100904102817.GA8981@dev.gluster.com>
Download mbox | patch
Permalink /patch/4548/
State Accepted
Headers show

Comments

shishir gowda - 2010-09-04 10:28:17
Currently add-brick and remove-brick type option of replica/stripe
along with count does not change the behaviour. Hiding the usage
options.

Signed-off-by: shishir gowda <shishirng@gluster.com>
---
 cli/src/cli-cmd-volume.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c
index faba8a8..93761f0 100644
--- a/cli/src/cli-cmd-volume.c
+++ b/cli/src/cli-cmd-volume.c
@@ -390,7 +390,7 @@  void
 cli_cmd_volume_add_brick_usage ()
 {
         cli_out ("Usage: volume add-brick <VOLNAME> "
-                 "[(replica <COUNT>)|(stripe <COUNT>)] <NEW-BRICK> ...");
+                 "<NEW-BRICK> ...");
 }
 
 int
@@ -435,7 +435,7 @@  void
 cli_cmd_volume_remove_brick_usage ()
 {
         cli_out ("Usage: volume remove-brick <VOLNAME> "
-                 "[(replica <COUNT>)|(stripe <COUNT>)] <BRICK> ...");
+                 "<BRICK> ...");
 }
 
 int