summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorSachin Pandit <spandit@redhat.com>2014-08-25 09:46:14 +0530
committerKaushal M <kaushal@redhat.com>2014-08-26 00:30:27 -0700
commit71095db8f40888f6afc604c896c296dbe988d292 (patch)
tree72e81f470445edfff074273aaed084aba2cd057d /cli
parent4bbaf4615be673dec70fc3e1f127139b6d079869 (diff)
cli/snapshot : update of a snapshot delete syntax in documentation
Change-Id: Id1a4b9684a8dd5750ee6eed841e3d5195407fb7e BUG: 1112613 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>
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) {