summaryrefslogtreecommitdiff
path: root/templates/clear
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/clear
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/clear')
-rw-r--r--templates/clear/arp/address/node.def2
-rw-r--r--templates/clear/arp/address/node.tag/node.def4
-rw-r--r--templates/clear/interfaces/bridge/node.tag/counters/node.def2
-rw-r--r--templates/clear/interfaces/bridge/node.tag/node.def2
-rw-r--r--templates/clear/interfaces/ethernet/node.tag/counters/node.def2
-rw-r--r--templates/clear/interfaces/ethernet/node.tag/node.def2
-rw-r--r--templates/clear/interfaces/loopback/node.tag/counters/node.def2
-rw-r--r--templates/clear/interfaces/loopback/node.tag/node.def2
-rw-r--r--templates/clear/interfaces/tunnel/node.tag/counters/node.def2
-rw-r--r--templates/clear/interfaces/tunnel/node.tag/node.def2
-rw-r--r--templates/clear/ip/route/cache/node.tag/node.def2
-rw-r--r--templates/clear/node.def2
12 files changed, 13 insertions, 13 deletions
diff --git a/templates/clear/arp/address/node.def b/templates/clear/arp/address/node.def
index 149cf76..efe6f10 100644
--- a/templates/clear/arp/address/node.def
+++ b/templates/clear/arp/address/node.def
@@ -1 +1 @@
-help: Clear ARP cache for address
+help: Clear ARP cache for an IPv4 address
diff --git a/templates/clear/arp/address/node.tag/node.def b/templates/clear/arp/address/node.tag/node.def
index 23fc5bc..2c523ef 100644
--- a/templates/clear/arp/address/node.tag/node.def
+++ b/templates/clear/arp/address/node.tag/node.def
@@ -1,3 +1,3 @@
-help: Clear ARP cache for address
-allowed: echo -n '<ip_address>'
+help: Clear ARP cache for an IPv4 address
+allowed: echo -n '<x.x.x.x>'
run: sudo /sbin/ip neigh flush to "$4"
diff --git a/templates/clear/interfaces/bridge/node.tag/counters/node.def b/templates/clear/interfaces/bridge/node.tag/counters/node.def
index ba3199b..8b2c6b3 100644
--- a/templates/clear/interfaces/bridge/node.tag/counters/node.def
+++ b/templates/clear/interfaces/bridge/node.tag/counters/node.def
@@ -1,2 +1,2 @@
-help: Clear interface counters for a given interface
+help: Clear interface counters for a given bridge interface
run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"
diff --git a/templates/clear/interfaces/bridge/node.tag/node.def b/templates/clear/interfaces/bridge/node.tag/node.def
index 4b6256e..e73a82d 100644
--- a/templates/clear/interfaces/bridge/node.tag/node.def
+++ b/templates/clear/interfaces/bridge/node.tag/node.def
@@ -1,4 +1,4 @@
-help: Clear interface information for a given interface
+help: Clear interface information for a given bridge interface
allowed: local -a array ;
array=( /sys/class/net/br* ) ;
echo -n ${array[@]##*/}
diff --git a/templates/clear/interfaces/ethernet/node.tag/counters/node.def b/templates/clear/interfaces/ethernet/node.tag/counters/node.def
index ba3199b..467a084 100644
--- a/templates/clear/interfaces/ethernet/node.tag/counters/node.def
+++ b/templates/clear/interfaces/ethernet/node.tag/counters/node.def
@@ -1,2 +1,2 @@
-help: Clear interface counters for a given interface
+help: Clear interface counters for a given ethernet interface
run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"
diff --git a/templates/clear/interfaces/ethernet/node.tag/node.def b/templates/clear/interfaces/ethernet/node.tag/node.def
index 4f39ebf..17e07e1 100644
--- a/templates/clear/interfaces/ethernet/node.tag/node.def
+++ b/templates/clear/interfaces/ethernet/node.tag/node.def
@@ -1,4 +1,4 @@
-help: Clear interface information for a given interface
+help: Clear interface information for a given ethernet interface
allowed: local -a array ;
array=( /sys/class/net/eth* ) ;
echo -n ${array[@]##*/}
diff --git a/templates/clear/interfaces/loopback/node.tag/counters/node.def b/templates/clear/interfaces/loopback/node.tag/counters/node.def
index ba3199b..34c895c 100644
--- a/templates/clear/interfaces/loopback/node.tag/counters/node.def
+++ b/templates/clear/interfaces/loopback/node.tag/counters/node.def
@@ -1,2 +1,2 @@
-help: Clear interface counters for a given interface
+help: Clear interface counters for a given loopback interface
run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"
diff --git a/templates/clear/interfaces/loopback/node.tag/node.def b/templates/clear/interfaces/loopback/node.tag/node.def
index cfefa98..6059e8c 100644
--- a/templates/clear/interfaces/loopback/node.tag/node.def
+++ b/templates/clear/interfaces/loopback/node.tag/node.def
@@ -1,4 +1,4 @@
-help: Clear interface counters for a given interface
+help: Clear interface counters for a given loopback interface
allowed: local -a array ;
array=( /sys/class/net/lo* ) ;
echo -n ${array[@]##*/}
diff --git a/templates/clear/interfaces/tunnel/node.tag/counters/node.def b/templates/clear/interfaces/tunnel/node.tag/counters/node.def
index ba3199b..3b00df5 100644
--- a/templates/clear/interfaces/tunnel/node.tag/counters/node.def
+++ b/templates/clear/interfaces/tunnel/node.tag/counters/node.def
@@ -1,2 +1,2 @@
-help: Clear interface counters for a given interface
+help: Clear interface counters for a given tunnel interface
run: sudo ${vyatta_bindir}/sudo-users/vyatta-show-interfaces.pl --action=clear --intf="$4"
diff --git a/templates/clear/interfaces/tunnel/node.tag/node.def b/templates/clear/interfaces/tunnel/node.tag/node.def
index cf85a2c..3452c92 100644
--- a/templates/clear/interfaces/tunnel/node.tag/node.def
+++ b/templates/clear/interfaces/tunnel/node.tag/node.def
@@ -1,4 +1,4 @@
-help: Clear interface information for a given interface
+help: Clear interface information for a given tunnel interface
allowed: local -a array ;
array=( /sys/class/net/tun* ) ;
echo -n ${array[@]##*/}
diff --git a/templates/clear/ip/route/cache/node.tag/node.def b/templates/clear/ip/route/cache/node.tag/node.def
index 97f7fc3..4af1915 100644
--- a/templates/clear/ip/route/cache/node.tag/node.def
+++ b/templates/clear/ip/route/cache/node.tag/node.def
@@ -1,3 +1,3 @@
help: Flush the kernel route cache for a given route
-allowed: echo -n '<network>'
+allowed: echo -n '<x.x.x.x | x.x.x.x/x>'
run: sudo /sbin/ip route flush cache "$5"
diff --git a/templates/clear/node.def b/templates/clear/node.def
index ea122ba..18cca25 100644
--- a/templates/clear/node.def
+++ b/templates/clear/node.def
@@ -1 +1 @@
-help: Clear protocol statistics or status
+help: Clear system information