summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-cmd-snapshot.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src/cli-cmd-snapshot.c')
-rw-r--r--cli/src/cli-cmd-snapshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/src/cli-cmd-snapshot.c b/cli/src/cli-cmd-snapshot.c
index 9f52ab01b..b3bc98abf 100644
--- a/cli/src/cli-cmd-snapshot.c
+++ b/cli/src/cli-cmd-snapshot.c
@@ -51,7 +51,7 @@ cli_cmd_snapshot_cbk (struct cli_state *state, struct cli_cmd_word *word,
}
/* Parses the command entered by the user */
- ret = cli_cmd_snapshot_parse (words, wordcount, &options);
+ ret = cli_cmd_snapshot_parse (words, wordcount, &options, state);
if (ret) {
cli_usage_out (word->pattern);
parse_err = 1;