diff options
| author | Tom Rini <[email protected]> | 2024-06-19 10:09:44 -0600 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-06-26 13:17:51 -0600 |
| commit | b85ecb276bee4ef828852e75e9932638b48042dd (patch) | |
| tree | 3372664a87f685fd7275d4c68eb2e114dc4bedda /cmd/arm | |
| parent | 4721d1cb8e45795c10fad252fdfc4951fefaeff2 (diff) | |
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 <[email protected]>
Diffstat (limited to 'cmd/arm')
| -rw-r--r-- | cmd/arm/exception.c | 5 | ||||
| -rw-r--r-- | cmd/arm/exception64.c | 5 |
2 files changed, 4 insertions, 6 deletions
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, "<ex>\n" " The following exceptions are available:\n" " breakpoint - prefetch abort\n" " unaligned - data abort\n" - " undefined - undefined instruction\n" - ; + " undefined - undefined instruction\n"); #include <exception.h> 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, "<ex>\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 <exception.h> |
