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:
parent
91e88091fc
commit
b6405e11cb
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue