diff options
author | Sachin Pandit <spandit@redhat.com> | 2014-02-13 03:41:28 +0530 |
---|---|---|
committer | Rajesh Joseph <rjoseph@redhat.com> | 2014-03-05 01:54:43 -0800 |
commit | cffe1de37453f81992047408e4c4ce5e35e21434 (patch) | |
tree | 2a7f5f79fc9e0b448540427b11048b65f37abf72 /cli/src/cli-cmd-snapshot.c | |
parent | d059ac1a1a9fc2a286f29361830c1632dc8ce3cf (diff) |
CLI/snapshot : Snapshot info CLI changes
snapshot info [(snapname | volume <volname>)].
Snapshot info will list all the basic information.
Syntax :
** gluster snapshot info **
This will list all the snap object along with that
it also prints the snaps volume name, UUID and
status.
** gluster snapshot info <snap-name> **
This will list only the mentioned snap object and
also snap volume information along with that
** gluster snapshot info volume <volname> **
This will list all the snaps present in the
mentioned volume.
Change-Id: I1e92774cb08eaebbfe141b9b47d1a887d76916a4
Signed-off-by: Sachin Pandit <spandit@redhat.com>
Reviewed-on: http://review.gluster.org/6996
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 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/src/cli-cmd-snapshot.c b/cli/src/cli-cmd-snapshot.c index 44dbf8a7c..b5b438804 100644 --- a/cli/src/cli-cmd-snapshot.c +++ b/cli/src/cli-cmd-snapshot.c @@ -91,8 +91,7 @@ struct cli_cmd snapshot_cmds[] = { cli_cmd_snapshot_cbk, "Snapshot Restore." }, - { "snapshot list [<volnames> | <volname> [-s <snapname>]" - " | -c <cgname> ] [-d]", + { "snapshot info [(snap-name | volume <volname>)]", cli_cmd_snapshot_cbk, "Snapshot List." }, |