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

This commit is contained in:
Francois Gouget 2011-08-24 15:22:52 +02:00 committed by Alexandre Julliard
parent 77f68e30f5
commit 9c11faf619
2 changed files with 5 additions and 5 deletions

View File

@ -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':

View File

@ -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