diff options
Diffstat (limited to 'cli/src/cli.c')
-rw-r--r-- | cli/src/cli.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c index 2b94df87cc4..a2457c2b6b1 100644 --- a/cli/src/cli.c +++ b/cli/src/cli.c @@ -382,6 +382,8 @@ parse_cmdline (int argc, char *argv[], struct cli_state *state) } } + state->argv[state->argc] = NULL; + return ret; } |