From: Tobias Stoeckmann Date: Mon, 16 Sep 2024 20:04:40 +0000 (+0200) Subject: xzdec: Remove unused short option -M X-Git-Tag: v5.6.3~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40a7f163f56aca6b3c8b83e9382f5e5cb4f8e93b;p=thirdparty%2Fxz.git 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) --- 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' },