1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 01:37:20 +00:00

remove deprecated "--do-not-cross-mountpoints"

use --one-file-system instead
This commit is contained in:
Thomas Waldmann 2016-01-15 23:53:57 +01:00
parent e1515ee251
commit 079646ee4c

View file

@ -752,8 +752,6 @@ def preprocess_args(self, args):
('--weekly', '--keep-weekly', 'Warning: "--weekly" has been deprecated. Use "--keep-weekly" instead.'),
('--monthly', '--keep-monthly', 'Warning: "--monthly" has been deprecated. Use "--keep-monthly" instead.'),
('--yearly', '--keep-yearly', 'Warning: "--yearly" has been deprecated. Use "--keep-yearly" instead.'),
('--do-not-cross-mountpoints', '--one-file-system',
'Warning: "--do-no-cross-mountpoints" has been deprecated. Use "--one-file-system" instead.'),
]
for i, arg in enumerate(args[:]):
for old_name, new_name, warning in deprecations: