mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-02 09:46:37 +03:00
cmd: Make use of U_BOOT_LONGHELP when missing
After adding the U_BOOT_LONGHELP macro some new commands came in still that were not making use if it. Switch these cases over and in a few places add missing newlines as well. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -118,16 +118,11 @@ static int do_cli(struct cmd_tbl *cmdtp, int flag, int argc,
|
||||
return CMD_RET_USAGE;
|
||||
}
|
||||
|
||||
#if CONFIG_IS_ENABLED(SYS_LONGHELP)
|
||||
static char cli_help_text[] =
|
||||
U_BOOT_LONGHELP(cli,
|
||||
"get - print current cli\n"
|
||||
"set - set the current cli, possible value are: old, modern"
|
||||
;
|
||||
#endif
|
||||
"set - set the current cli, possible value are: old, modern\n");
|
||||
|
||||
U_BOOT_CMD(cli, 3, 1, do_cli,
|
||||
"cli",
|
||||
#if CONFIG_IS_ENABLED(SYS_LONGHELP)
|
||||
cli_help_text
|
||||
#endif
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user