From 8d8c14b53408aec3011fbf33c201fda4926248bb Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Mon, 18 Jul 2022 12:34:29 -0500 Subject: T2719: patch for general support for boolean options Signed-off-by: Daniil Baturin --- src/op_mode/version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/op_mode') diff --git a/src/op_mode/version.py b/src/op_mode/version.py index 90645dfbc..847bb197e 100755 --- a/src/op_mode/version.py +++ b/src/op_mode/version.py @@ -65,7 +65,7 @@ def _get_formatted_output(version_data): tmpl = Template(version_output_tmpl) return tmpl.render(version_data).strip() -def show(raw: bool, funny: bool): +def show(raw: bool, funny: typing.Optional[bool]): """ Display neighbor table contents """ version_data = _get_raw_data(funny=funny) -- cgit v1.2.3