diff options
author | Christian Breunig <christian@breunig.cc> | 2023-05-04 15:24:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 15:24:59 +0200 |
commit | 3a35eca420c7b895323fdade0adf615c4a4eb675 (patch) | |
tree | 0755cde3bc48124917233ab4129bca2a14c3ecb7 /op-mode-definitions/openvpn.xml.in | |
parent | 6e7dfd008ae8cd41abb6c12fa58c5dd8374ccba0 (diff) | |
parent | 6d4caef050a1aefbddbdae3ad3d3928e464426f1 (diff) | |
download | vyos-1x-3a35eca420c7b895323fdade0adf615c4a4eb675.tar.gz vyos-1x-3a35eca420c7b895323fdade0adf615c4a4eb675.zip |
Merge pull request #1974 from dmbaturin/T5191-option-hyphens
opmode: T5191: replace underscores with hyphens in generated options
Diffstat (limited to 'op-mode-definitions/openvpn.xml.in')
-rw-r--r-- | op-mode-definitions/openvpn.xml.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/op-mode-definitions/openvpn.xml.in b/op-mode-definitions/openvpn.xml.in index 94647af02..f205b0026 100644 --- a/op-mode-definitions/openvpn.xml.in +++ b/op-mode-definitions/openvpn.xml.in @@ -37,13 +37,13 @@ <properties> <help>Show OpenVPN interface information</help> </properties> - <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf_type=openvpn</command> + <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf-type=openvpn</command> <children> <leafNode name="detail"> <properties> <help>Show detailed OpenVPN interface information</help> </properties> - <command>${vyos_op_scripts_dir}/interfaces.py show --intf_type=openvpn</command> + <command>${vyos_op_scripts_dir}/interfaces.py show --intf-type=openvpn</command> </leafNode> </children> </node> @@ -54,7 +54,7 @@ <script>sudo ${vyos_completion_dir}/list_interfaces --type openvpn</script> </completionHelp> </properties> - <command>${vyos_op_scripts_dir}/interfaces.py show --intf_name=$4</command> + <command>${vyos_op_scripts_dir}/interfaces.py show --intf-name=$4</command> <children> <tagNode name="user"> <properties> @@ -95,7 +95,7 @@ <properties> <help>Show summary of specified OpenVPN interface information</help> </properties> - <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf_name="$4"</command> + <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf-name="$4"</command> </leafNode> </children> </tagNode> |