mirror of
https://github.com/borgbackup/borg.git
synced 2025-01-01 12:45:34 +00:00
compact: more Highlander options, fixes #6269
This commit is contained in:
parent
5d8986c440
commit
ffdd156fd4
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
import argparse
|
||||
|
||||
from ._common import with_repository
|
||||
from ._common import with_repository, Highlander
|
||||
from ..constants import * # NOQA
|
||||
from ..helpers import EXIT_SUCCESS
|
||||
from ..manifest import Manifest
|
||||
|
@ -61,5 +61,6 @@ def build_parser_compact(self, subparsers, common_parser, mid_common_parser):
|
|||
dest="threshold",
|
||||
type=int,
|
||||
default=10,
|
||||
action=Highlander,
|
||||
help="set minimum threshold for saved space in PERCENT (Default: 10)",
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue