Skip to contentSkip to conversation

Fix typo ("comand" instead of "command")

PATCH New Loïc Minier 2 participants 4 messages Jan 4, 2011 – Jan 18, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Fix typo ("comand" instead of "command")

---
 tools/kwbimage.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
tools/kwbimage.c +1 -1
index 7b26920..964796e 100644
@@ -33,7 +33,7 @@
  * Supported commands for configuration file
  */
 static table_entry_t kwbimage_cmds[] = {
-	{CMD_BOOT_FROM,		"BOOT_FROM",		"boot comand",	},
+	{CMD_BOOT_FROM,		"BOOT_FROM",		"boot command",	},
 	{CMD_NAND_ECC_MODE,	"NAND_ECC_MODE",	"NAND mode",	},
 	{CMD_NAND_PAGE_SIZE,	"NAND_PAGE_SIZE",	"NAND size",	},
 	{CMD_SATA_PIO_MODE,	"SATA_PIO_MODE",	"SATA mode",	},
Signature · 1 line
1.7.2.3
#1 lore raw

PATCH 2/2 Escape minus signs in manpage

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.)

---
 doc/mkimage.1 |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
doc/mkimage.1 +4 -4
index 7985f5a..f27da6b 100644
@@ -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" "]"
Signature · 1 line
1.7.2.3
#2 lore raw

PATCH 2/2 Escape minus signs in manpage

Dear =?UTF-8?q?Lo=C3=AFc=20Minier?=,

Quoted 11 lines · In message <[email protected]> you wrote:

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.)

---
 doc/mkimage.1 |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

appplied, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Due to lack of disk space, this fortune database has been discontinued.
#3 lore raw

PATCH 1/2 Fix typo ("comand" instead of "command")

In reply to Loïc Minier

Dear =?UTF-8?q?Lo=C3=AFc=20Minier?=,

Quoted 4 lines · In message <[email protected]> you wrote:
---
 tools/kwbimage.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 4 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Drawing on my fine command of language, I said nothing.