From: Wayne Davison Date: Mon, 25 May 2020 23:57:47 +0000 (-0700) Subject: Tweak the --zz option to --zc (aka --compress-choice). X-Git-Tag: v3.2.0pre1~98 X-Git-Url: http://git.samba.org/?a=commitdiff_plain;h=24ce3e9d54060cb2f36741677acbb5d21a6ddae9;p=rsync.git Tweak the --zz option to --zc (aka --compress-choice). --- 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.