wrc: Fix the spelling of the --endianness option.
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 @@
" -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 @@
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 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 @@
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 @@
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