X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/bc72540aa158b4eba2dcda3e7921caa7f970ff9a..976db69ffa80c4d499e53f6f22c26d784fdac0a1:/include/command.h diff --git a/include/command.h b/include/command.h index 93c9a2d..6109f9f 100644 --- a/include/command.h +++ b/include/command.h @@ -97,6 +97,13 @@ extern int cmd_auto_complete(const FLASH char *const prompt, char *buf, int *np, */ int cmd_process_error(cmd_tbl_t *cmdtp, int err); +/** + * cmd_error() - print error message + * + * @fmt: + */ +void cmd_error(int status, int errnum, const char *fmt, ...); + /* * Monitor Command *