summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorLeo C2018-04-08 16:45:56 +0200
committerLeo C2018-07-21 13:27:51 +0200
commit9d6c43faec80158445b1131640356cc0c90b45e3 (patch)
treeb673009cddefd0dab1cc94034d693e9110450fa9 /include
parent7eecbdacec66226ebc3959411883aeaebcf9791d (diff)
downloadz180-stamp-9d6c43faec80158445b1131640356cc0c90b45e3.zip
Find subcommands without prefix
Diffstat (limited to 'include')
-rw-r--r--include/command.h1
1 files changed, 1 insertions, 0 deletions
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,