cli: Added the group option for volume set

gluster volume set <VOLUME> group <GROUP> is used for setting multiple
pre-defined volume options, but this was undocumented. This patch doc-
ments this feature.

fixes: bz#1243991

Change-Id: Id346cf2537f85179caff32479f09555ce2e72e76
Signed-off-by: Rinku Kothiya <rkothiya@redhat.com>
This commit is contained in:
Rinku Kothiya 2019-01-21 11:16:09 +00:00 committed by Atin Mukherjee
parent ec05f3a21f
commit f87a3e8403

View File

@ -3403,6 +3403,11 @@ struct cli_cmd volume_cmds[] = {
{"volume set <VOLNAME> <KEY> <VALUE>", cli_cmd_volume_set_cbk,
"set options for volume <VOLNAME>"},
{"volume set <VOLNAME> group <GROUP>", cli_cmd_volume_set_cbk,
"This option can be used for setting multiple pre-defined volume options"
"where group_name is a file under /var/lib/glusterd/groups containing one"
"key, value pair per line"},
{"volume log <VOLNAME> rotate [BRICK]", cli_cmd_log_rotate_cbk,
"rotate the log file for corresponding volume/brick"},