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: 792331bdee
Closes: https://github.com/tukaani-project/xz/pull/143
[ Lasse: Commit message edits ]

(cherry picked from commit 78355aebb7)
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
1 changed files with 1 additions and 1 deletions

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' },