Skip to content

Commit

Permalink
serve: more Highlander options, fixes borgbackup#6269
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasWaldmann committed Apr 6, 2023
1 parent 1a6d1d0 commit d0d8cd1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/borg/archiver/serve_cmd.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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.",
Expand Down

0 comments on commit d0d8cd1

Please sign in to comment.