Skip to contentSkip to conversation

cmd: pxe: Update the command help

PATCH In review Bin Meng 3 participants 3 messages Jul 31, 2023 – Aug 15, 2023

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 cmd: pxe: Update the command help

Currently the "help" displays pxe command help text like this:

=> help
...
printenv - print environment variables
pxe - commands to get and boot from pxe files
To use IPv6 add -ipv6 parameter
qfw - QEMU firmware interface
...

This does not read clearly. Remove the IPv6 stuff as it is in the detailed help text so that it fits just a single line.

---

 cmd/pxe.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
cmd/pxe.c +1 -2
index 677142520b..7bfb1b9b28 100644
@@ -333,8 +333,7 @@ static int do_pxe(struct cmd_tbl *cmdtp, int flag, int argc, char *const argv[])
 }
 
 U_BOOT_CMD(pxe, 4, 1, do_pxe,
-	   "commands to get and boot from pxe files\n"
-	   "To use IPv6 add -ipv6 parameter",
+	   "get and boot from pxe files",
 	   "get [" USE_IP6_CMD_PARAM "] - try to retrieve a pxe file using tftp\n"
 	   "pxe boot [pxefile_addr_r] [-ipv6] - boot from the pxe file at pxefile_addr_r\n"
 );
Signature · 1 line
2.25.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 11 lines · Bin Meng

Currently the "help" displays pxe command help text like this:

=> help
...
printenv - print environment variables
pxe - commands to get and boot from pxe files
To use IPv6 add -ipv6 parameter
qfw - QEMU firmware interface
...

Quoted 9 lines

This does not read clearly. Remove the IPv6 stuff as it is in the detailed help text so that it fits just a single line.

---

 cmd/pxe.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
#2 lore raw
In reply to Bin Meng
Quoted 10 lines · Bin Meng

Currently the "help" displays pxe command help text like this:

=> help
...
printenv - print environment variables
pxe - commands to get and boot from pxe files
To use IPv6 add -ipv6 parameter
qfw - QEMU firmware interface
...

Quoted 5 lines

This does not read clearly. Remove the IPv6 stuff as it is in the detailed help text so that it fits just a single line.

Applied to u-boot/next, thanks!

Signature · 1 line
Tom