From 40a7f163f56aca6b3c8b83e9382f5e5cb4f8e93b Mon Sep 17 00:00:00 2001 From: Tobias Stoeckmann Date: Mon, 16 Sep 2024 22:04:40 +0200 Subject: [PATCH] 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) --- src/xzdec/xzdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xzdec/xzdec.c b/src/xzdec/xzdec.c index 4d881748..a75ea42a 100644 --- a/src/xzdec/xzdec.c +++ b/src/xzdec/xzdec.c @@ -124,7 +124,7 @@ version(void) static void 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[] = { { "stdout", no_argument, NULL, 'c' }, { "to-stdout", no_argument, NULL, 'c' },