[options] add '--compat' command-line option

This commit is contained in:
Mike Fährmann
2025-07-14 18:52:39 +02:00
parent bbe7faed21
commit d9a650d547
2 changed files with 6 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
--user-agent UA User-Agent request header
--clear-cache MODULE Delete cached login sessions, cookies, etc. for
MODULE (ALL to delete everything)
--compat Restore legacy 'category' names
## Update Options:
-U, --update Update to the latest version

View File

@@ -286,6 +286,11 @@ def build_parser():
help="Delete cached login sessions, cookies, etc. for MODULE "
"(ALL to delete everything)",
)
general.add_argument(
"--compat",
dest="category-map", nargs=0, action=ConfigConstAction, const="compat",
help="Restore legacy 'category' names",
)
update = parser.add_argument_group("Update Options")
if util.EXECUTABLE: