diff options
author | Rinku Kothiya <rkothiya@redhat.com> | 2019-01-21 11:16:09 +0000 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2019-02-04 12:56:00 +0000 |
commit | f87a3e840306052a120529ea5a190240179078c1 (patch) | |
tree | 8a1b2d170a1281ed6aa48b1d13a76e5fda3ed9c2 /cli | |
parent | ec05f3a21f44e1fd5e089b7a0fffd5265b67cdfc (diff) |
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>
Diffstat (limited to 'cli')
-rw-r--r-- | cli/src/cli-cmd-volume.c | 5 |
1 files changed, 5 insertions, 0 deletions
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 <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"}, |