aboutsummaryrefslogtreecommitdiff
path: root/projects/cli-test
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2016-05-27 14:31:53 +0200
committerFredrik Thulin <fredrik@thulin.net>2016-05-27 14:31:53 +0200
commit24ce7281fcf08cd471f2948af7658dd57a53ee63 (patch)
tree0c76d043baa8038cfc72c18acffe4d8525507fed /projects/cli-test
parentea0c0ce7e1cee6d65e70ccd0723ea59e08662e19 (diff)
cli_command_root_node: bugfix missing command callback
Diffstat (limited to 'projects/cli-test')
-rw-r--r--projects/cli-test/mgmt-cli.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/cli-test/mgmt-cli.h b/projects/cli-test/mgmt-cli.h
index cf8444f..dd6a58b 100644
--- a/projects/cli-test/mgmt-cli.h
+++ b/projects/cli-test/mgmt-cli.h
@@ -64,7 +64,7 @@
/* ROOT NODE is a label without a parent, but with a command associated with it */
#define cli_command_root_node(name, help) \
- _cli_cmd_struct(name, name, NULL, (char *) help); \
+ _cli_cmd_struct(name, name, cmd_##name, (char *) help); \
cli_register_command2(cli, &cmd_##name##_s, NULL)