Blob Blame History Raw
From aeea979a531792198dd4c32e10ba31c3d7be959a Mon Sep 17 00:00:00 2001
From: Atin Mukherjee <amukherj@redhat.com>
Date: Sun, 4 Jun 2017 20:19:19 +0530
Subject: [PATCH 487/509] cli: add 'all' option in gluster v get cli usage

>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>

Change-Id: If216b13b7f9072f875eb2c5019d3b50b8bf3313e
BUG: 1458585
Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-on: https://code.engineering.redhat.com/gerrit/108298
---
 cli/src/cli-cmd-volume.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c
index 86d6b4b..fac678a 100644
--- a/cli/src/cli-cmd-volume.c
+++ b/cli/src/cli-cmd-volume.c
@@ -3323,9 +3323,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"
-- 
1.8.3.1