summaryrefslogtreecommitdiffstats
path: root/cmd.c
diff options
context:
space:
mode:
authornicm <nicm>2021-09-09 21:55:03 +0000
committernicm <nicm>2021-09-09 21:55:03 +0000
commit768fb9080ff757fc05c3af05e596083e2ba5851f (patch)
tree029f1542c7892f7b180300e12cc1ead85104968c /cmd.c
parenta0b39dba3145d46dabdceca14bd88a6c10ce590d (diff)
Keep -? as usage.
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd.c b/cmd.c
index 5647a861..123fd366 100644
--- a/cmd.c
+++ b/cmd.c
@@ -502,7 +502,7 @@ cmd_parse(struct args_value *values, u_int count, const char *file, u_int line,
const struct cmd_entry *entry;
struct cmd *cmd;
struct args *args;
- char *error;
+ char *error = NULL;
if (count == 0 || values[0].type != ARGS_STRING) {
xasprintf(cause, "no command");