From 24ce3e9d54060cb2f36741677acbb5d21a6ddae9 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Mon, 25 May 2020 16:57:47 -0700 Subject: [PATCH] Tweak the --zz option to --zc (aka --compress-choice). --- options.c | 2 +- rsync.yo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/options.c b/options.c index 5b55dbc9..07511b05 100644 --- a/options.c +++ b/options.c @@ -1009,7 +1009,7 @@ static struct poptOption long_options[] = { {"no-compress", 0, POPT_ARG_NONE, 0, OPT_NO_COMPRESS, 0, 0 }, {"no-z", 0, POPT_ARG_NONE, 0, OPT_NO_COMPRESS, 0, 0 }, {"compress-choice", 0, POPT_ARG_STRING, &compress_choice, 0, 0, 0 }, - {"zz", 0, POPT_ARG_STRING, &compress_choice, 0, 0, 0 }, + {"zc", 0, POPT_ARG_STRING, &compress_choice, 0, 0, 0 }, {"skip-compress", 0, POPT_ARG_STRING, &skip_compress, 0, 0, 0 }, {"compress-level", 0, POPT_ARG_INT, &do_compression_level, 0, 0, 0 }, {0, 'P', POPT_ARG_NONE, 0, 'P', 0, 0 }, diff --git a/rsync.yo b/rsync.yo index 15a3c240..37421c94 100644 --- a/rsync.yo +++ b/rsync.yo @@ -2078,7 +2078,7 @@ will not allow you to force the compression type. See the bf(--skip-compress) option for the default list of file suffixes that will not be compressed. -dit(bf(--compress-choice=STR, --zz=STR)) This option can be used to override the +dit(bf(--compress-choice=STR, --zc=STR)) This option can be used to override the automatic selection of the compression algorithm that is the default when bf(--compress) is used. -- 2.34.1