aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2022-11-09 18:14:14 +0200
committerLasse Collin <lasse.collin@tukaani.org>2022-11-09 18:14:14 +0200
commitba2ae3596f6be1587495f33b367488f6e00e56f1 (patch)
tree639a735b0fb08d07a117e3cb7b2d1ba0204cb207
parentWindows: Update the VS project files for ARM64 and .lz support. (diff)
downloadxz-ba2ae3596f6be1587495f33b367488f6e00e56f1.tar.xz
xz: Add --arm64 to --long-help and omit endianness from ARM(-Thumb).
Modern 32-bit ARM in big endian mode use little endian for instruction encoding still, so the filters work on such executables too. It's likely less confusing for users this way. The --arm64 option hasn't been implemented yet (there is --experimental-arm64 but it's different). The --arm64 option is added now anyway because this is the likely result and the strings need to be ready for translators. Thanks to Jia Tan.
Diffstat (limited to '')
-rw-r--r--src/xz/message.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/xz/message.c b/src/xz/message.c
index 831b4f9d..345049e6 100644
--- a/src/xz/message.c
+++ b/src/xz/message.c
@@ -1226,10 +1226,11 @@ message_help(bool long_help)
puts(_(
"\n"
" --x86[=OPTS] x86 BCJ filter (32-bit and 64-bit)\n"
+" --arm[=OPTS] ARM BCJ filter\n"
+" --armthumb[=OPTS] ARM-Thumb BCJ filter\n"
+" --arm64[=OPTS] ARM64 BCJ filter\n"
" --powerpc[=OPTS] PowerPC BCJ filter (big endian only)\n"
" --ia64[=OPTS] IA-64 (Itanium) BCJ filter\n"
-" --arm[=OPTS] ARM BCJ filter (little endian only)\n"
-" --armthumb[=OPTS] ARM-Thumb BCJ filter (little endian only)\n"
" --sparc[=OPTS] SPARC BCJ filter\n"
" Valid OPTS for all BCJ filters:\n"
" start=NUM start offset for conversions (default=0)"));