Tweak the --zz option to --zc (aka --compress-choice).
authorWayne Davison <wayne@opencoder.net>
Mon, 25 May 2020 23:57:47 +0000 (16:57 -0700)
committerWayne Davison <wayne@opencoder.net>
Mon, 25 May 2020 23:57:47 +0000 (16:57 -0700)
options.c
rsync.yo

index 5b55dbc98d3459a9e4b39913869f5e06f65c4437..07511b05b3befd1559f5dff5c5854ed2138f9a2e 100644 (file)
--- 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 },
index 15a3c24022db278714bc907d0c8914b5f88499cf..37421c94c53a65cd7387cd1ad176e38138ea82b6 100644 (file)
--- 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.