]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - include/command.h
new debug command: xx test. get freq command from single step branch.
[z180-stamp.git] / include / command.h
index 93c9a2defb543b99378bcf37c6c82119f70247ce..6109f9f97b969d4a7018ae4e26d1c59a8b4d9f48 100644 (file)
@@ -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
  *