🔥 Remove unused code for argument param declarations

This commit is contained in:
Sebastián Ramírez 2020-01-02 19:24:16 +01:00
parent 15d790a9ae
commit 6aa9e26f7c

View file

@ -691,8 +691,6 @@ def get_click_param(
)
elif isinstance(parameter_info, ArgumentInfo):
param_decls = [param.name]
if parameter_info.param_decls:
param_decls.extend(parameter_info.param_decls)
nargs = None
if is_list:
nargs = -1