improve command handling examples
[fw/openocd] / src / hello.c
index 9a1bf92520349366206ae43f43c8e41ce717a9c1..2e5c9289c19d08842f149f8e3756b5bf8b2d38f6 100644 (file)
@@ -101,7 +101,7 @@ COMMAND_HANDLER(handle_hello_command)
        return retval;
 }
 
-static const struct command_registration hello_command_handlers[] = {
+const struct command_registration hello_command_handlers[] = {
        {
                .name = "hello",
                .handler = &handle_hello_command,