diff options
author | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-04-04 23:59:50 +0000 |
---|---|---|
committer | Mohit Mehta <mohit.mehta@vyatta.com> | 2008-04-04 23:59:50 +0000 |
commit | 6824c5341d20bee84cf9ce001fee9218503ac90f (patch) | |
tree | 914ed950783bd57c3043f9fab3364961b21bc788 /templates/show/interfaces | |
parent | 5612efdef70dca2c8f02578cc1b119be4b794d08 (diff) | |
download | vyatta-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')
13 files changed, 13 insertions, 13 deletions
diff --git a/templates/show/interfaces/bridge/node.tag/brief/node.def b/templates/show/interfaces/bridge/node.tag/brief/node.def index d3d213d..ca07860 100644 --- a/templates/show/interfaces/bridge/node.tag/brief/node.def +++ b/templates/show/interfaces/bridge/node.tag/brief/node.def @@ -1,2 +1,2 @@ -help: Show summary of a given bridge interface information +help: Show summary of the specified bridge interface information run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief diff --git a/templates/show/interfaces/bridge/node.tag/node.def b/templates/show/interfaces/bridge/node.tag/node.def index 41aa6b2..d2c5eec 100644 --- a/templates/show/interfaces/bridge/node.tag/node.def +++ b/templates/show/interfaces/bridge/node.tag/node.def @@ -1,4 +1,4 @@ -help: Show given bridge interface information +help: Show specified bridge interface information allowed: local -a array ; array=( /sys/class/net/br* ) ; echo -n ${array[@]##*/} diff --git a/templates/show/interfaces/detail/node.def b/templates/show/interfaces/detail/node.def index f875ce8..08bdfa4 100644 --- a/templates/show/interfaces/detail/node.def +++ b/templates/show/interfaces/detail/node.def @@ -1,2 +1,2 @@ -help: Show detail information of all interfaces +help: Show detailed information of all interfaces run: ${vyatta_bindir}/vyatta-show-interfaces.pl --action=show 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[@]##*.} diff --git a/templates/show/interfaces/loopback/node.tag/brief/node.def b/templates/show/interfaces/loopback/node.tag/brief/node.def index 85970d3..2ea8f06 100644 --- a/templates/show/interfaces/loopback/node.tag/brief/node.def +++ b/templates/show/interfaces/loopback/node.tag/brief/node.def @@ -1,2 +1,2 @@ -help: Show summary of given loopback interface information +help: Show summary of specified loopback interface information run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief diff --git a/templates/show/interfaces/loopback/node.tag/node.def b/templates/show/interfaces/loopback/node.tag/node.def index 84f3624..3364827 100644 --- a/templates/show/interfaces/loopback/node.tag/node.def +++ b/templates/show/interfaces/loopback/node.tag/node.def @@ -1,4 +1,4 @@ -help: Show given loopback interface information +help: Show specified loopback interface information allowed: local -a array ; array=( /sys/class/net/lo* ) ; echo -n ${array[@]##*/} diff --git a/templates/show/interfaces/tunnel/node.tag/brief/node.def b/templates/show/interfaces/tunnel/node.tag/brief/node.def index 7a266ef..4c63d8e 100644 --- a/templates/show/interfaces/tunnel/node.tag/brief/node.def +++ b/templates/show/interfaces/tunnel/node.tag/brief/node.def @@ -1,2 +1,2 @@ -help: Show summary of given tunnel interface information +help: Show summary of specified tunnel interface information run: ${vyatta_bindir}/vyatta-show-interfaces.pl --intf="$4" --action=show-brief diff --git a/templates/show/interfaces/tunnel/node.tag/node.def b/templates/show/interfaces/tunnel/node.tag/node.def index c39ad7e..6818464 100644 --- a/templates/show/interfaces/tunnel/node.tag/node.def +++ b/templates/show/interfaces/tunnel/node.tag/node.def @@ -1,4 +1,4 @@ -help: Show given tunnel interface information +help: Show specified tunnel interface information allowed: local -a array ; array=( /sys/class/net/tun* ) ; echo -n ${array[@]##*/} |