]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - include/command.h
Find subcommands without prefix
[z180-stamp.git] / include / command.h
index e44512e4b492fb4fb8eed7bd8ad0ad4bde14ca54..fb7f9b8bee117b3cdcd5049c8847a6e949f86226 100644 (file)
@@ -135,6 +135,7 @@ extern int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc,
  */
 #define CTBL_REPEAT                    0x01    /* command is repeatable        */
 #define CTBL_SUBCMD                    0x02    /* command has subcommands      */
+#define CTBL_SUBCMDAUTO                0x04    /* execute subcommands whithout prefix*/
 
 #ifdef CONFIG_AUTO_COMPLETE
 # define _CMD_COMPLETE(x) x,