summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-interfaces-wireguard.xml.in
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2023-04-28 17:57:29 +0100
committerDaniil Baturin <daniil@baturin.org>2023-05-04 01:45:53 +0100
commit6d4caef050a1aefbddbdae3ad3d3928e464426f1 (patch)
tree0755cde3bc48124917233ab4129bca2a14c3ecb7 /op-mode-definitions/show-interfaces-wireguard.xml.in
parent6e7dfd008ae8cd41abb6c12fa58c5dd8374ccba0 (diff)
downloadvyos-1x-6d4caef050a1aefbddbdae3ad3d3928e464426f1.tar.gz
vyos-1x-6d4caef050a1aefbddbdae3ad3d3928e464426f1.zip
opmode: T5191: replace underscores with hyphens in generated options
Diffstat (limited to 'op-mode-definitions/show-interfaces-wireguard.xml.in')
-rw-r--r--op-mode-definitions/show-interfaces-wireguard.xml.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/op-mode-definitions/show-interfaces-wireguard.xml.in b/op-mode-definitions/show-interfaces-wireguard.xml.in
index d045beafc..bab7f19c8 100644
--- a/op-mode-definitions/show-interfaces-wireguard.xml.in
+++ b/op-mode-definitions/show-interfaces-wireguard.xml.in
@@ -11,7 +11,7 @@
<script>${vyos_completion_dir}/list_interfaces --type wireguard</script>
</completionHelp>
</properties>
- <command>${vyos_op_scripts_dir}/interfaces.py show --intf_name="$4" --intf_type=wireguard</command>
+ <command>${vyos_op_scripts_dir}/interfaces.py show --intf-name="$4" --intf-type=wireguard</command>
<children>
<leafNode name="allowed-ips">
<properties>
@@ -49,13 +49,13 @@
<properties>
<help>Show WireGuard interface information</help>
</properties>
- <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf_type=wireguard</command>
+ <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf-type=wireguard</command>
<children>
<leafNode name="detail">
<properties>
<help>Show detailed Wireguard interface information</help>
</properties>
- <command>${vyos_op_scripts_dir}/interfaces.py show --intf_type=wireguard</command>
+ <command>${vyos_op_scripts_dir}/interfaces.py show --intf-type=wireguard</command>
</leafNode>
</children>
</node>