diff options
author | John Estabrook <jestabro@vyos.io> | 2022-07-18 12:34:29 -0500 |
---|---|---|
committer | Daniil Baturin <daniil@vyos.io> | 2022-07-19 11:02:42 -0400 |
commit | 8d8c14b53408aec3011fbf33c201fda4926248bb (patch) | |
tree | 2b0fc797e3b219140fb5fa0db2c2e7d797884ad7 /src/op_mode | |
parent | ee5f697065eb1e50ea87bb1a6423b7533c03170a (diff) | |
download | vyos-1x-8d8c14b53408aec3011fbf33c201fda4926248bb.tar.gz vyos-1x-8d8c14b53408aec3011fbf33c201fda4926248bb.zip |
T2719: patch for general support for boolean options
Signed-off-by: Daniil Baturin <daniil@vyos.io>
Diffstat (limited to 'src/op_mode')
-rwxr-xr-x | src/op_mode/version.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |