net: lwip: remove superfluous newline at tftp help text
PATCH 2/3 net: lwip: remove superfluous newline at tftp help text
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 <[email protected]>
--- cmd/net-lwip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
cmd/net-lwip.c +1 -1
@@ -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
Signature · 1 line
2.39.5
Sorry this should have been individual patches. Please read the subject as "[PATCH 1/1]" or just "[PATCH]".
-michael
Quoted 14 lines · Michael Walle
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 <[email protected]>--- cmd/net-lwip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)cmd/net-lwip.c +0
-0
cmd/net-lwip.c U_BOOT_CMD(ping, 2, 1, do_ping, "send ICMP ECHO_REQUEST to network host", · line 23
Quoted 8 lines
cmd/net-lwip.c +1
-1@@ -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
Reviewed-by Jerome Forissier <[email protected]>
Thanks,
Signature · 1 line
Jerome