1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-27 10:18:12 +00:00

Merge pull request #294 from anarcat/x-option

add -x flag, common to GNU utilities
This commit is contained in:
TW 2015-10-17 20:06:02 +02:00
commit 2dda41dc2a

View file

@ -683,7 +683,7 @@ def build_parser(self, args=None, prog=None):
subparser.add_argument('-c', '--checkpoint-interval', dest='checkpoint_interval', subparser.add_argument('-c', '--checkpoint-interval', dest='checkpoint_interval',
type=int, default=300, metavar='SECONDS', type=int, default=300, metavar='SECONDS',
help='write checkpoint every SECONDS seconds (Default: 300)') help='write checkpoint every SECONDS seconds (Default: 300)')
subparser.add_argument('--do-not-cross-mountpoints', dest='dontcross', subparser.add_argument('-x', '--do-not-cross-mountpoints', dest='dontcross',
action='store_true', default=False, action='store_true', default=False,
help='do not cross mount points') help='do not cross mount points')
subparser.add_argument('--numeric-owner', dest='numeric_owner', subparser.add_argument('--numeric-owner', dest='numeric_owner',