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>
This commit is contained in:
Atin Mukherjee 2017-06-04 20:19:19 +05:30
parent 7b58ec2601
commit 4dba0d5f8d

View File

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