net: lwip: remove superfluous newline at tftp help text
authorMichael Walle <mwalle@kernel.org>
Wed, 12 Mar 2025 07:37:50 +0000 (08:37 +0100)
committerJerome Forissier <jerome.forissier@linaro.org>
Mon, 31 Mar 2025 07:46:25 +0000 (09:46 +0200)
The help text has a newline at the end which will lead to an empty
line after the tftpboot when printing the help overview. Remove it.

Fixes: 4d4d7838127e ("net: lwip: add TFTP support and tftpboot command")
Signed-off-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
cmd/net-lwip.c

index 0fd446e..2495562 100644 (file)
@@ -17,7 +17,7 @@ U_BOOT_CMD(ping, 2, 1, do_ping, "send ICMP ECHO_REQUEST to network host",
 
 #if defined(CONFIG_CMD_TFTPBOOT)
 U_BOOT_CMD(tftpboot, 3, 0, do_tftpb,
-          "boot image via network using TFTP protocol\n",
+          "boot image via network using TFTP protocol",
           "[loadAddress] [[hostIPaddr:]bootfilename]");
 #endif