]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
cmd: pxe: Update the command help
authorBin Meng <bmeng@tinylab.org>
Mon, 31 Jul 2023 08:33:23 +0000 (16:33 +0800)
committerTom Rini <trini@konsulko.com>
Mon, 14 Aug 2023 21:55:53 +0000 (17:55 -0400)
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.

Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/pxe.c

index 677142520bb796066e512c8b4fa2b0c6cd8b0d7c..7bfb1b9b2803ae444fe6d4932580cfc533b28bd7 100644 (file)
--- a/cmd/pxe.c
+++ b/cmd/pxe.c
@@ -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"
 );