1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-29 16:55:32 +00:00

Rename opposite to opposite_aliases

This commit is contained in:
Unrud 2021-11-10 22:16:30 +01:00
parent 91e88091fc
commit b6405e11cb
2 changed files with 2 additions and 2 deletions

View file

@ -91,7 +91,7 @@ def run() -> None:
del kwargs["type"]
kwargs["action"] = "store_const"
kwargs["const"] = "True"
opposite_args = list(kwargs.pop("opposite", ()))
opposite_args = list(kwargs.pop("opposite_aliases", ()))
opposite_args.append("--no%s" % long_name[1:])
group.add_argument(*args, **kwargs)