summaryrefslogtreecommitdiff
path: root/templates/show/interfaces/ethernet
diff options
context:
space:
mode:
authorMohit Mehta <mohit.mehta@vyatta.com>2008-04-04 23:59:50 +0000
committerMohit Mehta <mohit.mehta@vyatta.com>2008-04-04 23:59:50 +0000
commit6824c5341d20bee84cf9ce001fee9218503ac90f (patch)
tree914ed950783bd57c3043f9fab3364961b21bc788 /templates/show/interfaces/ethernet
parent5612efdef70dca2c8f02578cc1b119be4b794d08 (diff)
downloadvyatta-op-6824c5341d20bee84cf9ce001fee9218503ac90f.tar.gz
vyatta-op-6824c5341d20bee84cf9ce001fee9218503ac90f.zip
Fix Bug 3069 Help strings should be standardized
- vyatta-op help strings standardized according to latest guideline
Diffstat (limited to 'templates/show/interfaces/ethernet')
-rw-r--r--templates/show/interfaces/ethernet/node.tag/brief/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/physical/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/vif/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/vif/node.tag/brief/node.def2
-rw-r--r--templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def2
6 files changed, 6 insertions, 6 deletions
diff --git a/templates/show/interfaces/ethernet/node.tag/brief/node.def b/templates/show/interfaces/ethernet/node.tag/brief/node.def
index 98539ed..0d164bc 100644
--- a/templates/show/interfaces/ethernet/node.tag/brief/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/brief/node.def
@@ -1,2 +1,2 @@
-help: Show summary of given ethernet interface information
+help: Show summary of the specified ethernet interface information
run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief
diff --git a/templates/show/interfaces/ethernet/node.tag/node.def b/templates/show/interfaces/ethernet/node.tag/node.def
index b41cf8b..57a5623 100644
--- a/templates/show/interfaces/ethernet/node.tag/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/node.def
@@ -1,4 +1,4 @@
-help: Show given ethernet interface information
+help: Show specified ethernet interface information
allowed: for dev in /sys/class/net/*;
do if [[ -L $dev/device ]]
then if [[ $(cat $dev/type) -eq 1 ]]
diff --git a/templates/show/interfaces/ethernet/node.tag/physical/node.def b/templates/show/interfaces/ethernet/node.tag/physical/node.def
index 3667c13..7723946 100644
--- a/templates/show/interfaces/ethernet/node.tag/physical/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/physical/node.def
@@ -1,3 +1,3 @@
-help: Show physical device information of given ethernet interface
+help: Show physical device information for specified ethernet interface
allowed: ""
run: /usr/sbin/ethtool "$4"; /usr/sbin/ethtool -i "$4"
diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.def
index b3d92de..2b74427 100644
--- a/templates/show/interfaces/ethernet/node.tag/vif/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/vif/node.def
@@ -1,4 +1,4 @@
-help: Show given virtual network interface information
+help: Show specified virtual network interface (vif) information
run: tput setaf ${COLOR_RED:-1} ;
echo error: need to supply vif # ;
tput op
diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/brief/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/brief/node.def
index 35cf9a4..7aa871e 100644
--- a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/brief/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/brief/node.def
@@ -1,2 +1,2 @@
-help: Show summary of given virtual network interface information
+help: Show summary of specified virtual network interface (vif) information
run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4.$6" --action=show-brief
diff --git a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def
index 13f196f..52bfbee 100644
--- a/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def
+++ b/templates/show/interfaces/ethernet/node.tag/vif/node.tag/node.def
@@ -1,4 +1,4 @@
-help: Show given virtual network interface information
+help: Show specified virtual network interface (vif) information
allowed: local -a array ;
array=( /sys/class/net/${COMP_WORDS[3]}.* ) ;
echo -n ${array[@]##*.}