mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-21 23:33:07 +00:00
src: renamed r*_epilog attrs to repo_*_epilog, fixed references
This commit is contained in:
parent
149ff7541d
commit
a7bfd4aec8
6 changed files with 12 additions and 12 deletions
|
@ -158,7 +158,7 @@ def get_csettings(c):
|
|||
def build_parser_repo_compress(self, subparsers, common_parser, mid_common_parser):
|
||||
from ._common import process_epilog
|
||||
|
||||
rcompress_epilog = process_epilog(
|
||||
repo_compress_epilog = process_epilog(
|
||||
"""
|
||||
Repository (re-)compression (and/or re-obfuscation).
|
||||
|
||||
|
@ -187,7 +187,7 @@ def build_parser_repo_compress(self, subparsers, common_parser, mid_common_parse
|
|||
parents=[common_parser],
|
||||
add_help=False,
|
||||
description=self.do_repo_compress.__doc__,
|
||||
epilog=rcompress_epilog,
|
||||
epilog=repo_compress_epilog,
|
||||
formatter_class=argparse.RawDescriptionHelpFormatter,
|
||||
help=self.do_repo_compress.__doc__,
|
||||
)
|
||||
|
|
|
@ -64,7 +64,7 @@ def do_repo_create(self, args, repository, *, other_repository=None, other_manif
|
|||
def build_parser_repo_create(self, subparsers, common_parser, mid_common_parser):
|
||||
from ._common import process_epilog
|
||||
|
||||
rcreate_epilog = process_epilog(
|
||||
repo_create_epilog = process_epilog(
|
||||
"""
|
||||
This command creates a new, empty repository. A repository is a ``borgstore`` store
|
||||
containing the deduplicated data from zero or more archives.
|
||||
|
@ -196,7 +196,7 @@ def build_parser_repo_create(self, subparsers, common_parser, mid_common_parser)
|
|||
parents=[common_parser],
|
||||
add_help=False,
|
||||
description=self.do_repo_create.__doc__,
|
||||
epilog=rcreate_epilog,
|
||||
epilog=repo_create_epilog,
|
||||
formatter_class=argparse.RawDescriptionHelpFormatter,
|
||||
help="create a new, empty repository",
|
||||
)
|
||||
|
|
|
@ -90,7 +90,7 @@ def do_repo_delete(self, args, repository):
|
|||
def build_parser_repo_delete(self, subparsers, common_parser, mid_common_parser):
|
||||
from ._common import process_epilog
|
||||
|
||||
rdelete_epilog = process_epilog(
|
||||
repo_delete_epilog = process_epilog(
|
||||
"""
|
||||
This command deletes the complete repository.
|
||||
|
||||
|
@ -107,7 +107,7 @@ def build_parser_repo_delete(self, subparsers, common_parser, mid_common_parser)
|
|||
parents=[common_parser],
|
||||
add_help=False,
|
||||
description=self.do_repo_delete.__doc__,
|
||||
epilog=rdelete_epilog,
|
||||
epilog=repo_delete_epilog,
|
||||
formatter_class=argparse.RawDescriptionHelpFormatter,
|
||||
help="delete repository",
|
||||
)
|
||||
|
|
|
@ -68,7 +68,7 @@ def do_repo_info(self, args, repository, manifest, cache):
|
|||
def build_parser_repo_info(self, subparsers, common_parser, mid_common_parser):
|
||||
from ._common import process_epilog
|
||||
|
||||
rinfo_epilog = process_epilog(
|
||||
repo_info_epilog = process_epilog(
|
||||
"""
|
||||
This command displays detailed information about the repository.
|
||||
"""
|
||||
|
@ -78,7 +78,7 @@ def build_parser_repo_info(self, subparsers, common_parser, mid_common_parser):
|
|||
parents=[common_parser],
|
||||
add_help=False,
|
||||
description=self.do_repo_info.__doc__,
|
||||
epilog=rinfo_epilog,
|
||||
epilog=repo_info_epilog,
|
||||
formatter_class=argparse.RawDescriptionHelpFormatter,
|
||||
help="show repository information",
|
||||
)
|
||||
|
|
|
@ -39,7 +39,7 @@ def do_repo_list(self, args, repository, manifest):
|
|||
def build_parser_repo_list(self, subparsers, common_parser, mid_common_parser):
|
||||
from ._common import process_epilog, define_archive_filters_group
|
||||
|
||||
rlist_epilog = (
|
||||
repo_list_epilog = (
|
||||
process_epilog(
|
||||
"""
|
||||
This command lists the archives contained in a repository.
|
||||
|
@ -87,7 +87,7 @@ def build_parser_repo_list(self, subparsers, common_parser, mid_common_parser):
|
|||
parents=[common_parser],
|
||||
add_help=False,
|
||||
description=self.do_repo_list.__doc__,
|
||||
epilog=rlist_epilog,
|
||||
epilog=repo_list_epilog,
|
||||
formatter_class=argparse.RawDescriptionHelpFormatter,
|
||||
help="list repository contents",
|
||||
)
|
||||
|
|
|
@ -48,7 +48,7 @@ def do_repo_space(self, args, repository):
|
|||
def build_parser_repo_space(self, subparsers, common_parser, mid_common_parser):
|
||||
from ._common import process_epilog
|
||||
|
||||
rspace_epilog = process_epilog(
|
||||
repo_space_epilog = process_epilog(
|
||||
"""
|
||||
This command manages reserved space in a repository.
|
||||
|
||||
|
@ -88,7 +88,7 @@ def build_parser_repo_space(self, subparsers, common_parser, mid_common_parser):
|
|||
parents=[common_parser],
|
||||
add_help=False,
|
||||
description=self.do_repo_space.__doc__,
|
||||
epilog=rspace_epilog,
|
||||
epilog=repo_space_epilog,
|
||||
formatter_class=argparse.RawDescriptionHelpFormatter,
|
||||
help="manage reserved space in a repository",
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue