mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-02 17:56:00 +00:00
serve: more Highlander options, fixes #6269
This commit is contained in:
parent
1a6d1d0c7c
commit
d0d8cd1edf
1 changed files with 2 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
|||
import argparse
|
||||
|
||||
from ._common import Highlander
|
||||
from ..constants import * # NOQA
|
||||
from ..helpers import EXIT_SUCCESS
|
||||
from ..helpers import parse_storage_quota
|
||||
|
@ -76,6 +77,7 @@ def build_parser_serve(self, subparsers, common_parser, mid_common_parser):
|
|||
dest="storage_quota",
|
||||
type=parse_storage_quota,
|
||||
default=None,
|
||||
action=Highlander,
|
||||
help="Override storage quota of the repository (e.g. 5G, 1.5T). "
|
||||
"When a new repository is initialized, sets the storage quota on the new "
|
||||
"repository as well. Default: no quota.",
|
||||
|
|
Loading…
Reference in a new issue