summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-interfaces-ethernet.xml.in
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2023-05-04 15:24:59 +0200
committerGitHub <noreply@github.com>2023-05-04 15:24:59 +0200
commit3a35eca420c7b895323fdade0adf615c4a4eb675 (patch)
tree0755cde3bc48124917233ab4129bca2a14c3ecb7 /op-mode-definitions/show-interfaces-ethernet.xml.in
parent6e7dfd008ae8cd41abb6c12fa58c5dd8374ccba0 (diff)
parent6d4caef050a1aefbddbdae3ad3d3928e464426f1 (diff)
downloadvyos-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/show-interfaces-ethernet.xml.in')
-rw-r--r--op-mode-definitions/show-interfaces-ethernet.xml.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/op-mode-definitions/show-interfaces-ethernet.xml.in b/op-mode-definitions/show-interfaces-ethernet.xml.in
index 81759c2b6..7c12d6084 100644
--- a/op-mode-definitions/show-interfaces-ethernet.xml.in
+++ b/op-mode-definitions/show-interfaces-ethernet.xml.in
@@ -11,13 +11,13 @@
<path>interfaces ethernet</path>
</completionHelp>
</properties>
- <command>${vyos_op_scripts_dir}/interfaces.py show --intf_name="$4" --intf_type=ethernet</command>
+ <command>${vyos_op_scripts_dir}/interfaces.py show --intf-name="$4" --intf-type=ethernet</command>
<children>
<leafNode name="brief">
<properties>
<help>Show summary of the specified ethernet interface information</help>
</properties>
- <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf_name="$4" --intf_type=ethernet</command>
+ <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf-name="$4" --intf-type=ethernet</command>
</leafNode>
<leafNode name="identify">
<properties>
@@ -58,13 +58,13 @@
<path>interfaces ethernet ${COMP_WORDS[3]} vif</path>
</completionHelp>
</properties>
- <command>${vyos_op_scripts_dir}/interfaces.py show --intf_name="$4.$6" --intf_type=ethernet</command>
+ <command>${vyos_op_scripts_dir}/interfaces.py show --intf-name="$4.$6" --intf-type=ethernet</command>
<children>
<leafNode name="brief">
<properties>
<help>Show summary of specified virtual network interface (vif) information</help>
</properties>
- <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf_name="$4.$6" --intf_type=ethernet</command>
+ <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf-name="$4.$6" --intf-type=ethernet</command>
</leafNode>
</children>
</tagNode>
@@ -80,13 +80,13 @@
<properties>
<help>Show Ethernet interface information</help>
</properties>
- <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf_type=ethernet</command>
+ <command>${vyos_op_scripts_dir}/interfaces.py show_summary --intf-type=ethernet</command>
<children>
<leafNode name="detail">
<properties>
<help>Show detailed ethernet interface information</help>
</properties>
- <command>${vyos_op_scripts_dir}/interfaces.py show --intf_type=ethernet</command>
+ <command>${vyos_op_scripts_dir}/interfaces.py show --intf-type=ethernet</command>
</leafNode>
</children>
</node>