summaryrefslogtreecommitdiff
path: root/avr/command_tbl.c
diff options
context:
space:
mode:
Diffstat (limited to 'avr/command_tbl.c')
-rw-r--r--avr/command_tbl.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/avr/command_tbl.c b/avr/command_tbl.c
index ea41fc7..1226180 100644
--- a/avr/command_tbl.c
+++ b/avr/command_tbl.c
@@ -352,10 +352,15 @@ CMD_TBL_ITEM(
CMD_TBL_ITEM(
help, CONFIG_SYS_MAXARGS, 0, do_help,
"print command description/usage",
- "\n"
- " - print brief description of all commands\n"
- "help command ...\n"
- " - print detailed usage of 'command'"
+ "[-a]\n"
+ " print brief description of all commands\n"
+ " -a print description of subcommands too\n"
+ "help -fk keyword ...\n"
+ " print brief description of commands matching keyword\n"
+ " -f search keyword in command name\n"
+ " -k search keyword in command name and description\n"
+ "help [-a] command ...\n"
+ " print detailed usage of 'command'"
),
/* This does not use the CMD_TBL_ITEM macro as ? can't be used in symbol names */