]>
cloudbase.mooo.com Git - z180-stamp.git/blob - avr/cmd_help.c
5 command_ret_t
do_help(cmd_tbl_t
*cmdtp
, int flag
, int argc
, char * const argv
[])
7 const int len
= cmd_tbl_item_count();
8 return _do_help(cmd_tbl
, len
, cmdtp
, flag
, argc
, argv
);
15 help
, CONFIG_SYS_MAXARGS
, 1, do_help
,
16 "print command description/usage",
18 " - print brief description of all commands\n"
20 " - print detailed usage of 'command'"
23 /* This does not use the U_BOOT_CMD macro as ? can't be used in symbol names */
24 ll_entry_declare(cmd_tbl_t
, question_mark
, cmd
) = {
25 "?", CONFIG_SYS_MAXARGS
, 1, do_help
,
27 #ifdef CONFIG_SYS_LONGHELP
29 #endif /* CONFIG_SYS_LONGHELP */