mirror of
https://github.com/borgbackup/borg.git
synced 2026-05-28 04:03:21 -04:00
Merge pull request #7569 from elandorr/master
incl./excl. options, path-from-stdin exclusiveness
This commit is contained in:
commit
79743d0503
2 changed files with 3 additions and 2 deletions
|
|
@ -351,7 +351,7 @@ def define_exclude_and_patterns(add_option, *, tag_files=False, strip_components
|
|||
|
||||
|
||||
def define_exclusion_group(subparser, **kwargs):
|
||||
exclude_group = subparser.add_argument_group("Exclusion options")
|
||||
exclude_group = subparser.add_argument_group("Include/Exclude options")
|
||||
define_exclude_and_patterns(exclude_group.add_argument, **kwargs)
|
||||
return exclude_group
|
||||
|
||||
|
|
|
|||
|
|
@ -802,7 +802,8 @@ class CreateMixIn:
|
|||
subparser.add_argument(
|
||||
"--paths-from-stdin",
|
||||
action="store_true",
|
||||
help="read DELIM-separated list of paths to back up from stdin. Will not " "recurse into directories.",
|
||||
help="read DELIM-separated list of paths to back up from stdin. All control is external: it will back"
|
||||
" up all files given - no more, no less.",
|
||||
)
|
||||
subparser.add_argument(
|
||||
"--paths-from-command",
|
||||
|
|
|
|||
Loading…
Reference in a new issue