From 14b9fab371eb7a160fbf15ea4b979d0d98a0e5e0 Mon Sep 17 00:00:00 2001 From: Csaba Henk Date: Tue, 19 Apr 2011 08:59:26 +0000 Subject: cli: change geo-replication syntax to support slave-only invocation (for sake of slave side configurability). Also pulled out sub-op, now we have volume geo-replication [] [] {start|stop|config|status} [options...] -- more convenient to use when working on a given session (ie. we just change the geo-rep subcommands), and aligns better with other volume commands, cf. eg. volume replace-brick {start|pause|abort|status|commit} Signed-off-by: Csaba Henk Signed-off-by: Anand Avati BUG: 2785 (gsyncd logs on slave side go to /dev/null) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2785 --- 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 f6caddbc334..3d4a26544b6 100644 --- a/cli/src/cli-cmd-volume.c +++ b/cli/src/cli-cmd-volume.c @@ -1165,7 +1165,7 @@ struct cli_cmd volume_cmds[] = { "reset all the reconfigured options"}, #if (SYNCDAEMON_COMPILE) - {"volume "GEOREP" [[] ] [options]", + {"volume "GEOREP" [] [] {start|stop|config|status} [options...]", cli_cmd_volume_gsync_set_cbk, "Geo-sync operations"}, #endif -- cgit