From f87a3e840306052a120529ea5a190240179078c1 Mon Sep 17 00:00:00 2001 From: Rinku Kothiya Date: Mon, 21 Jan 2019 11:16:09 +0000 Subject: cli: Added the group option for volume set gluster volume set 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 --- cli/src/cli-cmd-volume.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'cli/src') diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index 81e49dc5238..3432dbebd8b 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -3403,6 +3403,11 @@ struct cli_cmd volume_cmds[] = { {"volume set ", cli_cmd_volume_set_cbk, "set options for volume "}, + {"volume set 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 rotate [BRICK]", cli_cmd_log_rotate_cbk, "rotate the log file for corresponding volume/brick"}, -- cgit