Merge pull request #7569 from elandorr/master

incl./excl. options, path-from-stdin exclusiveness
This commit is contained in:
TW 2023-05-15 21:47:33 +02:00 committed by GitHub
commit 79743d0503
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -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

View file

@ -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",