From b85ecb276bee4ef828852e75e9932638b48042dd Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 19 Jun 2024 10:09:44 -0600 Subject: 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 --- cmd/arm/exception.c | 5 ++--- cmd/arm/exception64.c | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'cmd/arm') diff --git a/cmd/arm/exception.c b/cmd/arm/exception.c index 98a9795b68c..8857f121604 100644 --- a/cmd/arm/exception.c +++ b/cmd/arm/exception.c @@ -49,12 +49,11 @@ static struct cmd_tbl cmd_sub[] = { "", ""), }; -static char exception_help_text[] = +U_BOOT_LONGHELP(exception, "\n" " The following exceptions are available:\n" " breakpoint - prefetch abort\n" " unaligned - data abort\n" - " undefined - undefined instruction\n" - ; + " undefined - undefined instruction\n"); #include diff --git a/cmd/arm/exception64.c b/cmd/arm/exception64.c index 73d6c20ccac..4c5b953168c 100644 --- a/cmd/arm/exception64.c +++ b/cmd/arm/exception64.c @@ -77,12 +77,11 @@ static struct cmd_tbl cmd_sub[] = { "", ""), }; -static char exception_help_text[] = +U_BOOT_LONGHELP(exception, "\n" " The following exceptions are available:\n" " breakpoint - breakpoint instruction exception\n" " unaligned - unaligned LDAR data abort\n" - " undefined - undefined instruction exception\n" - ; + " undefined - undefined instruction exception\n"); #include -- cgit v1.3.1