summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorSachin Pandit <spandit@redhat.com>2014-08-25 09:46:14 +0530
committerVijay Bellur <vbellur@redhat.com>2014-09-23 03:13:40 -0700
commitcd60de7b2fd8d40be83ee75773e703e6327c47db (patch)
treef774aaea492b8d6316c4886ba1907cb6368fe2dc /cli
parent274f1c4f522a7df1df77431007a35e4dff7f6a47 (diff)
cli/snapshot : update of a snapshot delete syntax in documentation.
Change-Id: Id1a4b9684a8dd5750ee6eed841e3d5195407fb7e BUG: 1145084 Signed-off-by: Sachin Pandit <spandit@redhat.com> Reviewed-on: http://review.gluster.org/8534 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaushal M <kaushal@redhat.com> Signed-off-by: Sachin Pandit <spandit@redhat.com> Reviewed-on: http://review.gluster.org/8805 Reviewed-by: Vijaikumar Mallikarjuna <vmallika@redhat.com>
Diffstat (limited to 'cli')
-rw-r--r--cli/src/cli-cmd-parser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c
index 4811293dbb8..6e30a7094a8 100644
--- a/cli/src/cli-cmd-parser.c
+++ b/cli/src/cli-cmd-parser.c
@@ -3619,7 +3619,7 @@ out:
return ret;
}
-/* snapshot delete <snapname>
+/* snapshot delete (all | snapname | volume <volname>)
* @arg-0, dict : Request Dictionary to be sent to server side.
* @arg-1, words : Contains individual words of CLI command.
* @arg-2, wordcount: Contains number of words present in the CLI command.
@@ -4162,7 +4162,7 @@ cli_cmd_snapshot_parse (const char **words, int wordcount, dict_t **options,
case GF_SNAP_OPTION_TYPE_DELETE:
/* Syntax :
- * gluster snapshot delete <snapname>
+ * snapshot delete (all | snapname | volume <volname>)
*/
ret = cli_snap_delete_parse (dict, words, wordcount, state);
if (ret) {