[PATCH 06/12] doc: mkimage: Remove duplicate docs for -l

Sean Anderson seanga2 at gmail.com
Sun Jun 12 06:19:53 CEST 2022


The -l option is documented twice. Remove the second documentation. The
first documentation also suggests an implied second uimage-file-name
parameter. E.g.

	mkimage [-l uimage-file-name] uimage-file-name

This is misleading, so remove it. Wrap a few lines to 80 characters as
well.

Signed-off-by: Sean Anderson <seanga2 at gmail.com>
---

 doc/mkimage.1 | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diff --git a/doc/mkimage.1 b/doc/mkimage.1
index a231771991..ae1ddbc330 100644
--- a/doc/mkimage.1
+++ b/doc/mkimage.1
@@ -53,8 +53,9 @@ supports verified boot.
 .SS Options for listing image information
 .
 .TP
-.BI \-l " uimage-file-name"
-mkimage lists the information contained in the header of an existing U-Boot image.
+.B \-l
+mkimage lists the information contained in the header of an existing U-Boot
+image.
 .
 .TP
 .BI \-T " image-type"
@@ -70,7 +71,8 @@ Quiet. Don't print the image header on successful verification.
 .
 .TP
 .BI \-A " architecture"
-Set architecture. Pass \-h as the architecture to see the list of supported architectures.
+Set architecture. Pass \-h as the architecture to see the list of supported
+architectures.
 .
 .TP
 .BI \-O " os"
@@ -96,10 +98,6 @@ Set load address with a hex number.
 Set entry point with a hex number.
 .
 .TP
-.B \-l
-List the contents of an image.
-.
-.TP
 .BI \-n " image-name"
 Set image name to 'image name'.
 .
-- 
2.35.1



More information about the U-Boot mailing list