]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - include/command.h
Recursive cmd_find(), new command table flag: CTBL_RPT
[z180-stamp.git] / include / command.h
index fb7f9b8bee117b3cdcd5049c8847a6e949f86226..d7eccc932da18dbb624ce3186412f0729b627978 100644 (file)
@@ -133,9 +133,10 @@ extern int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc,
 /*
  * Flags for command table:
  */
-#define CTBL_REPEAT                    0x01    /* command is repeatable        */
+#define CTBL_RPT                       0x01    /* command is repeatable        */
 #define CTBL_SUBCMD                    0x02    /* command has subcommands      */
-#define CTBL_SUBCMDAUTO                0x04    /* execute subcommands whithout prefix*/
+#define CTBL_SUBCMDAUTO                0x04    /* execute subcommands whithout prefix */
+#define CTBL_DBG                       0x08    /* command is  only for debugging */
 
 #ifdef CONFIG_AUTO_COMPLETE
 # define _CMD_COMPLETE(x) x,