command_handler: change 'cmd_ctx' to CMD_CTX
Convert all command handler 'cmd_ctx' parameter usage with CMD_CTX.
This commit is contained in:
@@ -244,7 +244,7 @@ DECLARE_PARSE_WRAPPER(_s8, int8_t);
|
||||
do { \
|
||||
int retval = parse_##type(in, &(out)); \
|
||||
if (ERROR_OK != retval) { \
|
||||
command_print(cmd_ctx, stringify(out) \
|
||||
command_print(CMD_CTX, stringify(out) \
|
||||
" option value ('%s') is not valid", in); \
|
||||
return retval; \
|
||||
} \
|
||||
|
||||
Reference in New Issue
Block a user