summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-version.xml.in
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2022-07-20 15:32:59 -0500
committerGitHub <noreply@github.com>2022-07-20 15:32:59 -0500
commitf424d84f41791949a2ada417ecdd45a3b842799a (patch)
tree95e26bd89b6829493c0f5cef21616c523a0caa20 /op-mode-definitions/show-version.xml.in
parent38d753f830887c35abe4fbcf1bb73b6f26be1fdf (diff)
parentf9e835c41643f8d41f675c0364686fbea5055896 (diff)
downloadvyos-1x-f424d84f41791949a2ada417ecdd45a3b842799a.tar.gz
vyos-1x-f424d84f41791949a2ada417ecdd45a3b842799a.zip
Merge pull request #1351 from dmbaturin/genop
T2719: prototype of an op mode command runner based on type hints and introspection
Diffstat (limited to 'op-mode-definitions/show-version.xml.in')
-rw-r--r--op-mode-definitions/show-version.xml.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/op-mode-definitions/show-version.xml.in b/op-mode-definitions/show-version.xml.in
index 8b7cc7e58..d9c4738af 100644
--- a/op-mode-definitions/show-version.xml.in
+++ b/op-mode-definitions/show-version.xml.in
@@ -6,13 +6,13 @@
<properties>
<help>Show system version information</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/show_version.py</command>
+ <command>sudo ${vyos_op_scripts_dir}/version.py show</command>
<children>
<leafNode name="funny">
<properties>
<help>Show system version and some fun stuff</help>
</properties>
- <command>sudo ${vyos_op_scripts_dir}/show_version.py --funny</command>
+ <command>sudo ${vyos_op_scripts_dir}/version.py show --funny</command>
</leafNode>
<leafNode name="all">
<properties>