]> git.sur5r.net Git - openocd/blobdiff - src/openocd.c
refactor command registration
[openocd] / src / openocd.c
index b7781a6b6d37332693838815f662347bdcfd80ca..8e8ceac45eb8ece54df1b877b6438d1ae2e1631f 100644 (file)
@@ -278,7 +278,7 @@ int openocd_main(int argc, char *argv[])
        httpd_stop();
 #endif
 
-       unregister_all_commands(cmd_ctx);
+       unregister_all_commands(cmd_ctx, NULL);
 
        /* free commandline interface */
        command_done(cmd_ctx);