mirror of
https://github.com/borgbackup/borg.git
synced 2026-06-10 17:32:13 -04:00
Merge pull request #6850 from ThomasWaldmann/deprecated-prefix-option-1.2
deprecate --prefix, use -a / --glob-archives, see #6806
This commit is contained in:
commit
907764e018
1 changed files with 1 additions and 0 deletions
|
|
@ -2643,6 +2643,7 @@ class Archiver:
|
|||
('--numeric-owner', None, 'Warning: "--numeric-owner" has been deprecated. Use --numeric-ids instead.'),
|
||||
('--remote-ratelimit', None, 'Warning: "--remote-ratelimit" has been deprecated. Use --upload-ratelimit instead.'),
|
||||
('--remote-buffer', None, 'Warning: "--remote-buffer" has been deprecated. Use --upload-buffer instead.'),
|
||||
('--prefix', None, 'Warning: "--prefix" has been deprecated. Use "--glob-archives \'yourprefix*\'" (-a) instead.'),
|
||||
]
|
||||
for i, arg in enumerate(args[:]):
|
||||
for old_name, new_name, warning in deprecations:
|
||||
|
|
|
|||
Loading…
Reference in a new issue