summaryrefslogtreecommitdiffhomepage
path: root/include/usage.h
diff options
context:
space:
mode:
authorGlenn L McGrath <bug1@ihug.co.nz>2003-01-09 10:06:01 +0000
committerGlenn L McGrath <bug1@ihug.co.nz>2003-01-09 10:06:01 +0000
commit9e598413750c0decba90222f29104f31b39e5837 (patch)
treeb6eeae83f81b7feb203eb5ce33a8e9c51941e9ca /include/usage.h
parentdd3461af2f227efae7a69a67e5b8dc1f665b57b9 (diff)
arping applet by Nick Fedchik
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index dfcc89626..da4fad886 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -38,6 +38,23 @@
"\t-x\t\textract\n" \
"\t-v\t\tverbosely list files processed\n"
+#define arping_trivial_usage \
+ "[-fqbDUA] [-c count] [-w timeout] [-I device] [-s sender] target\n"
+#define arping_full_usage \
+ "Ping hosts by ARP requests/replies.\n\n" \
+ "Options:\n" \
+ "\t-f\t\tQuit on first ARP reply\n" \
+ "\t-q\t\tBe quiet\n" \
+ "\t-b\t\tKeep broadcasting, don't go unicast\n" \
+ "\t-D\t\tDuplicated address detection mode\n" \
+ "\t-U\t\tUnsolicited ARP mode, update your neighbours\n" \
+ "\t-A\t\tARP answer mode, update your neighbours\n" \
+ "\t-c count\tStop after sending count ARP request packets\n" \
+ "\t-w timeout\tTime to wait for ARP reply, in seconds\n" \
+ "\t-I device\tOutgoing interface name, default is eth0\n" \
+ "\t-s sender\tSet specific sender IP address\n" \
+ "\ttarget\t\tTarget IP address of ARP request\n"
+
#define awk_trivial_usage \
"[-v var=val][-F sep] { -f progname | 'programtext' } [FILE ...]"
#define awk_full_usage \