summaryrefslogtreecommitdiff
path: root/etc/functions/check_ping
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-29 12:10:49 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-29 12:10:49 +0200
commitd519281721c79a429700a8d3a1e8e51bc2782b42 (patch)
tree261a71497a80cf783744dc74d000a96ecbfa1edd /etc/functions/check_ping
parent28f05852b2beb04c78f713caedac6063aaeb956c (diff)
functions: Added/updated descriptions/comments
Diffstat (limited to 'etc/functions/check_ping')
-rw-r--r--etc/functions/check_ping3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/functions/check_ping b/etc/functions/check_ping
index 80ea8ea..015af0b 100644
--- a/etc/functions/check_ping
+++ b/etc/functions/check_ping
@@ -1,5 +1,6 @@
## vim:ft=zsh
-## check_ping -return true if a host responds to ICMP echo requests
+## check_ping - returns true if a host responds to ICMP echo requests
+## Usage: check_ping [-6] <host>
typeset -i ipv6 ret
while [[ $1 == -* ]] {