[U-Boot] [PATCH 2/2] Escape minus signs in manpage

Loïc Minier loic.minier at linaro.org
Tue Jan 4 02:32:36 CET 2011


By default, "-" chars are interpreted as hyphens (U+2010) by groff, not
as minus signs (U+002D). Since options to programs use minus signs
(U+002D), this means for example in UTF-8 locales that you cannot cut
and paste options, nor search for them easily.

(Reported by lintian.)

Signed-off-by: Loïc Minier <loic.minier at linaro.org>
---
 doc/mkimage.1 |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/mkimage.1 b/doc/mkimage.1
index 7985f5a..f27da6b 100644
--- a/doc/mkimage.1
+++ b/doc/mkimage.1
@@ -41,22 +41,22 @@ mkimage lists the information contained in the header of an existing U-Boot imag
 
 .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" "]"
 Set operating system. bootm command of u-boot changes boot method by os type.
-Pass -h as the OS to see the list of supported OS.
+Pass \-h as the OS to see the list of supported OS.
 
 .TP
 .BI "\-T [" "image type" "]"
 Set image type.
-Pass -h as the image to see the list of supported image type.
+Pass \-h as the image to see the list of supported image type.
 
 .TP
 .BI "\-C [" "compression type" "]"
 Set compression type.
-Pass -h as the compression to see the list of supported compression type.
+Pass \-h as the compression to see the list of supported compression type.
 
 .TP
 .BI "\-a [" "load addess" "]"
-- 
1.7.2.3



More information about the U-Boot mailing list