diff --git a/qutebrowser/config/configdata.py b/qutebrowser/config/configdata.py index e32460186..6f9d7c82d 100644 --- a/qutebrowser/config/configdata.py +++ b/qutebrowser/config/configdata.py @@ -1497,4 +1497,6 @@ CHANGED_KEY_COMMANDS = [ (re.compile(r'^search *;; *clear-keychain$'), r'clear-keychain ;; search'), (re.compile(r'^leave-mode$'), r'clear-keychain ;; leave-mode'), + + (re.compile(r'^download-remove --all$'), r'download-clear'), ] diff --git a/tests/unit/config/test_config.py b/tests/unit/config/test_config.py index de19e0fdf..4910e2ad2 100644 --- a/tests/unit/config/test_config.py +++ b/tests/unit/config/test_config.py @@ -251,6 +251,8 @@ class TestKeyConfigParser: ('search;;foo', None), ('leave-mode', 'clear-keychain ;; leave-mode'), ('leave-mode ;; foo', None), + + ('download-remove --all', 'download-clear'), ] ) def test_migrations(self, old, new_expected):