Francois Gouget : wrc: Fix the spelling of the --endianness option.

Alexandre Julliard julliard at winehq.org
Wed Aug 24 14:05:28 CDT 2011


Module: wine
Branch: master
Commit: 9c11faf619eb5d8b12ef8dfe2878343ff3de6a46
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9c11faf619eb5d8b12ef8dfe2878343ff3de6a46

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed Aug 24 15:22:52 2011 +0200

wrc: Fix the spelling of the --endianness option.

---

 tools/wrc/wrc.c      |    8 ++++----
 tools/wrc/wrc.man.in |    2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tools/wrc/wrc.c b/tools/wrc/wrc.c
index b1418c1..2eb5380 100644
--- a/tools/wrc/wrc.c
+++ b/tools/wrc/wrc.c
@@ -56,7 +56,7 @@ static const char usage[] =
 	"   -D, --define id[=val]      Define preprocessor identifier id=val\n"
 	"   --debug=nn                 Set debug level to 'nn'\n"
 	"   -E                         Preprocess only\n"
-	"   --endianess=e              Set output byte-order e={n[ative], l[ittle], b[ig]}\n"
+	"   --endianness=e             Set output byte-order e={n[ative], l[ittle], b[ig]}\n"
 	"                              (win32 only; default is " ENDIAN "-endian)\n"
 	"   -F TARGET                  Synonym for -b for compatibility with windres\n"
 	"   -fo FILE                   Synonym for -o for compatibility with windres\n"
@@ -176,7 +176,7 @@ enum long_options_values
     LONG_OPT_PREPROCESSOR,
     LONG_OPT_VERSION,
     LONG_OPT_DEBUG,
-    LONG_OPT_ENDIANESS,
+    LONG_OPT_ENDIANNESS,
     LONG_OPT_PEDANTIC,
     LONG_OPT_VERIFY_TRANSL
 };
@@ -186,7 +186,7 @@ static const char short_options[] =
 static const struct option long_options[] = {
 	{ "debug", 1, NULL, LONG_OPT_DEBUG },
 	{ "define", 1, NULL, 'D' },
-	{ "endianess", 1, NULL, LONG_OPT_ENDIANESS },
+	{ "endianness", 1, NULL, LONG_OPT_ENDIANNESS },
 	{ "help", 0, NULL, 'h' },
 	{ "include-dir", 1, NULL, 'I' },
 	{ "input", 1, NULL, 'i' },
@@ -396,7 +396,7 @@ int main(int argc,char *argv[])
 		case LONG_OPT_DEBUG:
 			debuglevel = strtol(optarg, NULL, 0);
 			break;
-		case LONG_OPT_ENDIANESS:
+		case LONG_OPT_ENDIANNESS:
 			switch(optarg[0])
 			{
 			case 'n':
diff --git a/tools/wrc/wrc.man.in b/tools/wrc/wrc.man.in
index 16ed347..cfdf800 100644
--- a/tools/wrc/wrc.man.in
+++ b/tools/wrc/wrc.man.in
@@ -37,7 +37,7 @@ Set debug level to \fInn\fR. The value is a bitmask consisting of
 1=verbose, 2=dump internals, 4=resource parser trace, 8=preprocessor
 messages, 16=preprocessor scanner and 32=preprocessor parser trace.
 .TP
-.I \fB\-\-endianess\fR=\fIe\fR
+.I \fB\-\-endianness\fR=\fIe\fR
 Win32 only; set output byte\-ordering, where \fIe\fR is one of n[ative],
 l[ittle] or b[ig].  Only resources in source-form can be reordered. Native
 ordering depends on the system on which \fBwrc\fR was built. You can see




More information about the wine-cvs mailing list