mirror of
https://github.com/borgbackup/borg.git
synced 2025-03-10 06:03:38 +00:00
Merge pull request #7568 from elandorr/1.2-maint
incl./excl. options, path-from-stdin exclusiveness
This commit is contained in:
commit
ce50796b1f
1 changed files with 3 additions and 3 deletions
|
@ -2972,7 +2972,7 @@ class Archiver:
|
||||||
'Paths with fewer elements will be silently skipped.')
|
'Paths with fewer elements will be silently skipped.')
|
||||||
|
|
||||||
def define_exclusion_group(subparser, **kwargs):
|
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)
|
define_exclude_and_patterns(exclude_group.add_argument, **kwargs)
|
||||||
return exclude_group
|
return exclude_group
|
||||||
|
|
||||||
|
@ -3582,8 +3582,8 @@ class Archiver:
|
||||||
help='interpret PATH as command and store its stdout. See also section Reading from'
|
help='interpret PATH as command and store its stdout. See also section Reading from'
|
||||||
' stdin below.')
|
' stdin below.')
|
||||||
subparser.add_argument('--paths-from-stdin', action='store_true',
|
subparser.add_argument('--paths-from-stdin', action='store_true',
|
||||||
help='read DELIM-separated list of paths to backup from stdin. Will not '
|
help='read DELIM-separated list of paths to backup from stdin. All control is external:'
|
||||||
'recurse into directories.')
|
' it will back up all files given - no more, no less.')
|
||||||
subparser.add_argument('--paths-from-command', action='store_true',
|
subparser.add_argument('--paths-from-command', action='store_true',
|
||||||
help='interpret PATH as command and treat its output as ``--paths-from-stdin``')
|
help='interpret PATH as command and treat its output as ``--paths-from-stdin``')
|
||||||
subparser.add_argument('--paths-delimiter', metavar='DELIM',
|
subparser.add_argument('--paths-delimiter', metavar='DELIM',
|
||||||
|
|
Loading…
Add table
Reference in a new issue