From 9d6c43faec80158445b1131640356cc0c90b45e3 Mon Sep 17 00:00:00 2001 From: Leo C Date: Sun, 8 Apr 2018 16:45:56 +0200 Subject: Find subcommands without prefix --- include/command.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/command.h b/include/command.h index e44512e..fb7f9b8 100644 --- a/include/command.h +++ b/include/command.h @@ -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, -- cgit v1.2.3