summaryrefslogtreecommitdiff
path: root/include/command.h
diff options
context:
space:
mode:
authorLeo C2018-07-21 13:53:33 +0200
committerLeo C2018-07-21 13:53:33 +0200
commit7a1ed62033184b79388b541258a14bc579389bdb (patch)
tree31c12c8c86ff308ef5a944ac088946e993f3e899 /include/command.h
parentb9aef06edc26e3d7560a7ab2d83fe033349ef874 (diff)
downloadz180-stamp-7a1ed62033184b79388b541258a14bc579389bdb.zip
Recursive cmd_find(), new command table flag: CTBL_RPT
# Conflicts: # avr/cmd_fat.c
Diffstat (limited to 'include/command.h')
-rw-r--r--include/command.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/command.h b/include/command.h
index fb7f9b8..d7eccc9 100644
--- a/include/command.h
+++ b/include/command.h
@@ -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,