]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
stm32mp: stm32prog: fix the content of short help message
authorPatrick Delaunay <patrick.delaunay@foss.st.com>
Mon, 28 Jun 2021 12:44:33 +0000 (14:44 +0200)
committerPatrick Delaunay <patrick.delaunay@foss.st.com>
Fri, 16 Jul 2021 07:28:46 +0000 (09:28 +0200)
Reduce the content of short help message for stm32prog command and
removed the carriage return to fix the display of 'help' command when
this command is activated.

Fixes: 954bd1a923a6 ("stm32mp: add the command stm32prog")
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
arch/arm/mach-stm32mp/cmd_stm32prog/cmd_stm32prog.c

index feff73c79efdb9df782393fa50ebbbf8eaf64186..064f51b2c7f35f4e017f13e5903e858b495d3702 100644 (file)
@@ -177,12 +177,12 @@ cleanup:
 }
 
 U_BOOT_CMD(stm32prog, 5, 0, do_stm32prog,
+          "start communication with tools STM32Cubeprogrammer",
           "<link> <dev> [<addr>] [<size>]\n"
-          "start communication with tools STM32Cubeprogrammer on <link> with Flashlayout at <addr>",
-          "<link> = serial|usb\n"
-          "<dev>  = device instance\n"
-          "<addr> = address of flashlayout\n"
-          "<size> = size of flashlayout\n"
+          "  <link> = serial|usb\n"
+          "  <dev>  = device instance\n"
+          "  <addr> = address of flashlayout\n"
+          "  <size> = size of flashlayout (optional for image with STM32 header)\n"
 );
 
 bool stm32prog_get_tee_partitions(void)