diff options
author | shishir gowda <sgowda@redhat.com> | 2013-10-24 15:47:14 +0530 |
---|---|---|
committer | shishir gowda <sgowda@redhat.com> | 2013-11-15 14:39:42 +0530 |
commit | 096b23f187d0b3ccbed25d8bd02723a61cc4da2d (patch) | |
tree | b4fbbd9de6396d9a2f8c7d1317da01b13e42a3b4 /cli/src/cli-cmd-snapshot.c | |
parent | 30e6c5364a0484fddc655d43cd3a0224f21343e4 (diff) |
mgmt/glusterd: snapshot config changes
Also refactored code in glusterd for create command
Additionally, removed brick-op func from mgmt_iniate_all_phases
Change-Id: Iddcc332009c5716adee7f2b04c93b352fb983446
Signed-off-by: shishir gowda <sgowda@redhat.com>
Diffstat (limited to 'cli/src/cli-cmd-snapshot.c')
-rw-r--r-- | cli/src/cli-cmd-snapshot.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/cli/src/cli-cmd-snapshot.c b/cli/src/cli-cmd-snapshot.c index afe8bf901..6c2b3d5e5 100644 --- a/cli/src/cli-cmd-snapshot.c +++ b/cli/src/cli-cmd-snapshot.c @@ -77,7 +77,7 @@ struct cli_cmd snapshot_cmds[] = { cli_cmd_snapshot_help_cbk, "display help for snapshot commands" }, - {"snapshot create <volnames> [-n <snap-name/cg-name>] [-d <description>]", + {"snapshot create <volnames> [-n <snap-name|cg-name>] [-d <description>]", cli_cmd_snapshot_cbk, "Snapshot Create." }, @@ -86,6 +86,10 @@ struct cli_cmd snapshot_cmds[] = { cli_cmd_snapshot_cbk, "Snapshot List." }, + {"snapshot config < volname | all > [ snap-max-limit <count> ]", + cli_cmd_snapshot_cbk, + "Snapshot Config." + }, { NULL, NULL, NULL } }; |