X-Git-Url: http://cloudbase.mooo.com/gitweb/z180-stamp.git/blobdiff_plain/d530fed0a0505db5d2c9bfe283409cedb9598c88..c646b5a9585d4c83df048be9198b0662a5881dcb:/avr/command_tbl.c 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 */