summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2017-06-04 20:19:19 +0530
committerAtin Mukherjee <amukherj@redhat.com>2017-06-06 11:31:48 +0000
commit4dba0d5f8d9ac13504087f553d7c730060f0f9c7 (patch)
tree3d8e92cd6db648db0f5915f52de18d16d4961bd9 /cli
parent7b58ec260152bdcf840ac622dbb883ce8b593f63 (diff)
cli: add 'all' option in gluster v get cli usage
Change-Id: If216b13b7f9072f875eb2c5019d3b50b8bf3313e BUG: 1458582 Signed-off-by: Atin Mukherjee <amukherj@redhat.com> Reviewed-on: https://review.gluster.org/17460 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Samikshan Bairagya <samikshan@gmail.com>
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli-cmd-volume.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c
index 4199579..81b273e 100644
--- a/cli/src/cli-cmd-volume.c
+++ b/cli/src/cli-cmd-volume.c
@@ -3313,9 +3313,11 @@ struct cli_cmd volume_cmds[] = {
cli_cmd_volume_barrier_cbk,
"Barrier/unbarrier file operations on a volume"
},
- {"volume get <VOLNAME> <key|all>",
+ {"volume get <VOLNAME|all> <key|all>",
cli_cmd_volume_getopt_cbk,
"Get the value of the all options or given option for volume <VOLNAME>"
+ " or all option. gluster volume get all all is to get all global "
+ "options"
},
{"volume bitrot <VOLNAME> {enable|disable} |\n"
"volume bitrot <volname> scrub-throttle {lazy|normal|aggressive} |\n"