mirror of
https://github.com/borgbackup/borg.git
synced 2026-03-29 05:44:17 -04:00
docs: clarify --recompress option, fixes #5154
This commit is contained in:
parent
fae0b9b1ee
commit
0e76dff33e
1 changed files with 10 additions and 9 deletions
|
|
@ -4104,15 +4104,16 @@ class Archiver:
|
|||
'"borg help compression" command for details.')
|
||||
archive_group.add_argument('--recompress', metavar='MODE', dest='recompress', nargs='?',
|
||||
default='never', const='if-different', choices=('never', 'if-different', 'always'),
|
||||
help='recompress data chunks according to ``--compression``. '
|
||||
'MODE `if-different`: '
|
||||
'recompress if current compression is with a different compression algorithm '
|
||||
'(the level is not considered). '
|
||||
'MODE `always`: '
|
||||
'recompress even if current compression is with the same compression algorithm '
|
||||
'(use this to change the compression level). '
|
||||
'MODE `never` (default): '
|
||||
'do not recompress.')
|
||||
help='recompress data chunks according to `MODE` and ``--compression``. '
|
||||
'Possible modes are '
|
||||
'`if-different`: recompress if current compression is with a different '
|
||||
'compression algorithm (the level is not considered); '
|
||||
'`always`: recompress even if current compression is with the same '
|
||||
'compression algorithm (use this to change the compression level); and '
|
||||
'`never`: do not recompress (use this option to explicitly prevent '
|
||||
'recompression). '
|
||||
'If no MODE is given, `if-different` will be used. '
|
||||
'Not passing --recompress is equivalent to "--recompress never".')
|
||||
archive_group.add_argument('--chunker-params', metavar='PARAMS', dest='chunker_params',
|
||||
type=ChunkerParams, default=CHUNKER_PARAMS,
|
||||
help='specify the chunker parameters (ALGO, CHUNK_MIN_EXP, CHUNK_MAX_EXP, '
|
||||
|
|
|
|||
Loading…
Reference in a new issue