diff options
Diffstat (limited to 'cli/src/cli-cmd-parser.c')
| -rw-r--r-- | cli/src/cli-cmd-parser.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c index 04c7ae20580..1a4c2f59f1a 100644 --- a/cli/src/cli-cmd-parser.c +++ b/cli/src/cli-cmd-parser.c @@ -4192,7 +4192,7 @@ cli_snap_info_parse (dict_t *dict, const char **words, int wordcount)          cmd = GF_SNAP_INFO_TYPE_VOL;  out:          if (ret == 0) { -                ret = dict_set_int32 (dict, "cmd", cmd); +                ret = dict_set_int32 (dict, "sub-cmd", cmd);                  if (ret) {                          gf_log ("cli", GF_LOG_ERROR, "Could not save "                                  "type of snapshot info");  | 
