summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2017-07-07 16:50:06 +0530
committerPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2017-07-07 16:55:24 +0530
commitac7674554e02b8d08c61b8cf9530be80eff79bfd (patch)
treed7e1ab0cc2ea90f75ab2a167f44c44d83b1df389 /cli
parent70c4e2281fd5d5d693033213ceca751a7d752c70 (diff)
cli: show 'prealloc' option in the hint msg
$ gluster-block create Inadequate arguments for create: gluster-block create <volname/blockname> [ha <count>] [auth<enable|disable>] \ [prealloc <full|no>] <HOST1[,HOST2,...]> <size> [--json*] Change-Id: Ib089598fd9b386bd3475dd421b41c45ebb01c9d2 Fixes: #33 Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
Diffstat (limited to 'cli')
-rw-r--r--cli/gluster-block.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cli/gluster-block.c b/cli/gluster-block.c
index ec931d1..21ad44f 100644
--- a/cli/gluster-block.c
+++ b/cli/gluster-block.c
@@ -16,8 +16,9 @@
# define GB_CREATE_HELP_STR "gluster-block create <volname/blockname> "\
- "[ha <count>] [auth enable|disable] "\
- "<HOST1[,HOST2,...]> <size> [--json*]"
+ "[ha <count>] [auth <enable|disable>] "\
+ "[prealloc <full|no>] <HOST1[,HOST2,...]> "\
+ "<size> [--json*]"
# define GB_DELETE_HELP_STR "gluster-block delete <volname/blockname> [--json*]"
# define GB_MODIFY_HELP_STR "gluster-block modify <volname/blockname> "\