summaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorDenis Vlasenko2007-01-07 01:24:12 +0000
committerDenis Vlasenko2007-01-07 01:24:12 +0000
commitfa85b86f388fb037b67fa7fcc3b5502c8d0fa84a (patch)
tree0d2f47866709f0a555d28166b4aeca04dfb7808c /include/usage.h
parentb05955e0a5aa5c16ef9460cf4bfed1ee589f5f64 (diff)
downloadbusybox-fa85b86f388fb037b67fa7fcc3b5502c8d0fa84a.zip
busybox-fa85b86f388fb037b67fa7fcc3b5502c8d0fa84a.tar.gz
add arp applet - thanks to
"Eric Spakman" <E.Spakman@inter.nl.net>
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index ae03d54..cfae4e1 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -55,6 +55,26 @@
" -x Extract\n" \
" -v Verbosely list files processed"
+#define arp_trivial_usage \
+ "\n" \
+ "[-vn] [-H type] [-i if] -a [hostname]\n" \
+ "[-v] [-i if] -d hostname [pub]\n" \
+ "[-v] [-H type] [-i if] -s hostname hw_addr [temp]\n" \
+ "[-v] [-H type] [-i if] -s hostname hw_addr [netmask nm] pub\n" \
+ "[-v] [-H type] [-i if] -Ds hostname ifa [netmask nm] pub\n"
+#define arp_full_usage \
+ "Manipulate the system ARP cache" \
+ "\n\nOptions:" \
+ "\n -a Display (all) hosts" \
+ "\n -s Set a new ARP entry" \
+ "\n -d Delete a specified entry" \
+ "\n -v Verbose" \
+ "\n -n Don't resolve names" \
+ "\n -i if Specify network interface (e.g. eth0)" \
+ "\n -D Read <hwaddr> from given device" \
+ "\n -A, -p Specify protocol family" \
+ "\n -H hwtype Specify hardware address type"
+
#define arping_trivial_usage \
"[-fqbDUA] [-c count] [-w timeout] [-i device] [-s sender] target"
#define arping_full_usage \