projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
helper/command: disable logging of registered commands [RFC]
[fw/openocd]
/
src
/
helper
/
command.c
diff --git
a/src/helper/command.c
b/src/helper/command.c
index 773195e2f4522ed70fb4b81a07318a5d3095ccdd..0a711e51437b78a64dc9ac8ba88b41357d86f526 100644
(file)
--- a/
src/helper/command.c
+++ b/
src/helper/command.c
@@
-349,7
+349,9
@@
static int register_command_handler(struct command_context *cmd_ctx,
{
Jim_Interp *interp = cmd_ctx->interp;
+#if 0
LOG_DEBUG("registering '%s'...", c->name);
+#endif
Jim_CmdProc *func = c->handler ? &script_command : &command_unknown;
int retval = Jim_CreateCommand(interp, c->name, func, c, NULL);