1
0
mirror of https://git.tukaani.org/xz.git synced 2025-02-17 14:08:12 +00:00

xzdec: Remove unused short option -M

"xzdec -M123" exited with exit status 1 without printing
any messages. The "M:" entry should have been removed when
the memory usage limiter support was removed from xzdec.

Fixes: 792331bdee706aa852a78b171040ebf814c6f3ae
Closes: https://github.com/tukaani-project/xz/pull/143
[ Lasse: Commit message edits ]

(cherry picked from commit 78355aebb7fb654302e5e33692ba109909dacaff)
This commit is contained in:
Tobias Stoeckmann 2024-09-16 22:04:40 +02:00 committed by Lasse Collin
parent c98714a570
commit 40a7f163f5
No known key found for this signature in database
GPG Key ID: 38EE757D69184620

View File

@ -124,7 +124,7 @@ version(void)
static void static void
parse_options(int argc, char **argv) parse_options(int argc, char **argv)
{ {
static const char short_opts[] = "cdkM:hqQV"; static const char short_opts[] = "cdkhqQV";
static const struct option long_opts[] = { static const struct option long_opts[] = {
{ "stdout", no_argument, NULL, 'c' }, { "stdout", no_argument, NULL, 'c' },
{ "to-stdout", no_argument, NULL, 'c' }, { "to-stdout", no_argument, NULL, 'c' },