X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=blobdiff_plain;f=doc%2Fmanual%2Fprimer%2Fcommands.txt;h=8ea228205bcf4eddcc2d1259c3e6813dd6429658;hp=a626f56b56d3925641b91c6661e96be52c068417;hb=6cb5ba6f1136df2986850f5c176cb38e34ca1795;hpb=69165509386efffc2848ac3b345be750f1ddbe56;ds=sidebyside diff --git a/doc/manual/primer/commands.txt b/doc/manual/primer/commands.txt index a626f56b56..8ea228205b 100644 --- a/doc/manual/primer/commands.txt +++ b/doc/manual/primer/commands.txt @@ -16,7 +16,7 @@ COMMAND_HANDLER(handle_hello_command) const char *sep, *name; int retval = CALL_COMMAND_HANDLER(handle_hello_args); if (ERROR_OK == retval) - command_print(CMD_CTX, "Greetings%s%s!", sep, name); + command_print(CMD, "Greetings%s%s!", sep, name); return retval; } @endcode