From 9dc9fb48f1790a76c499b105687cee82b2840865 Mon Sep 17 00:00:00 2001 From: Kaushal M Date: Mon, 26 Sep 2011 10:33:56 +0530 Subject: glusterd: support for resetting single option Allows resetting of only single options using 'volume reset' command. New syntax of volume reset is: 'volume reset [option] [force]'. Giving "all" as options or not specifying an option, causes all options to be reset. Change-Id: Ib9e220f326adeb1be1a774737a0b12c910012cea BUG: 2980 Reviewed-on: http://review.gluster.com/450 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi --- cli/src/cli-cmd-volume.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/src/cli-cmd-volume.c') diff --git a/cli/src/cli-cmd-volume.c b/cli/src/cli-cmd-volume.c index a2ec5086317..00077253237 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -1579,7 +1579,7 @@ struct cli_cmd volume_cmds[] = { cli_cmd_sync_volume_cbk, "sync the volume information from a peer"}, - { "volume reset [force]", + { "volume reset [option] [force]", cli_cmd_volume_reset_cbk, "reset all the reconfigured options"}, -- cgit