diff options
author | Sachin Pandit <spandit@redhat.com> | 2014-02-10 05:52:15 +0530 |
---|---|---|
committer | Rajesh Joseph <rjoseph@redhat.com> | 2014-03-04 06:56:25 -0800 |
commit | d059ac1a1a9fc2a286f29361830c1632dc8ce3cf (patch) | |
tree | 5bd2a8822cdb36ddb3449238fde1240c71c92b95 /cli/src/cli-cmd-snapshot.c | |
parent | fe5927b6bd1ed795c9e85996e7c54c3abe36ceba (diff) |
CLI/snapshot : Snapshot create CLI changes.
Syntax:
gluster snapshot create <snap-name> <vol-names>
[description <description>] [force].
New change:
With the snap driven approach, While creating the snapshot, We have
to mention the snap-name first and then the volumes to be associated
with that. Corresponding changes has been made in CLI,and all the
hyphenated options are replaced by keywords.
Previous Syntax :
snapshot create <volnames> [-n <snap-name/cg-name>] [-d <description>]
Change-Id: I9b4caf9629fdc3195b682190d999db2ecd9ce3e1
Signed-off-by: Sachin Pandit <spandit@redhat.com>
Reviewed-on: http://review.gluster.org/6947
Reviewed-by: Raghavendra Bhat <raghavendra@redhat.com>
Reviewed-by: Rajesh Joseph <rjoseph@redhat.com>
Tested-by: Rajesh Joseph <rjoseph@redhat.com>
Diffstat (limited to 'cli/src/cli-cmd-snapshot.c')
-rw-r--r-- | cli/src/cli-cmd-snapshot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli-cmd-snapshot.c b/cli/src/cli-cmd-snapshot.c index 1a5a2feef..44dbf8a7c 100644 --- a/cli/src/cli-cmd-snapshot.c +++ b/cli/src/cli-cmd-snapshot.c @@ -83,7 +83,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 <snapname> <volnames> [description <description>] [force]", cli_cmd_snapshot_cbk, "Snapshot Create." }, |