aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/applets.h3
-rw-r--r--include/usage.h17
2 files changed, 20 insertions, 0 deletions
diff --git a/include/applets.h b/include/applets.h
index 177e82352..9e95b2e9d 100644
--- a/include/applets.h
+++ b/include/applets.h
@@ -58,6 +58,9 @@
58#ifdef CONFIG_AR 58#ifdef CONFIG_AR
59 APPLET(ar, ar_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER) 59 APPLET(ar, ar_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
60#endif 60#endif
61#ifdef CONFIG_ARPING
62 APPLET(arping, arping_main, _BB_DIR_USR_BIN, _BB_SUID_NEVER)
63#endif
61#ifdef CONFIG_ASH 64#ifdef CONFIG_ASH
62 APPLET_NOUSAGE("ash", ash_main, _BB_DIR_BIN, _BB_SUID_NEVER) 65 APPLET_NOUSAGE("ash", ash_main, _BB_DIR_BIN, _BB_SUID_NEVER)
63#endif 66#endif
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 @@
38 "\t-x\t\textract\n" \ 38 "\t-x\t\textract\n" \
39 "\t-v\t\tverbosely list files processed\n" 39 "\t-v\t\tverbosely list files processed\n"
40 40
41#define arping_trivial_usage \
42 "[-fqbDUA] [-c count] [-w timeout] [-I device] [-s sender] target\n"
43#define arping_full_usage \
44 "Ping hosts by ARP requests/replies.\n\n" \
45 "Options:\n" \
46 "\t-f\t\tQuit on first ARP reply\n" \
47 "\t-q\t\tBe quiet\n" \
48 "\t-b\t\tKeep broadcasting, don't go unicast\n" \
49 "\t-D\t\tDuplicated address detection mode\n" \
50 "\t-U\t\tUnsolicited ARP mode, update your neighbours\n" \
51 "\t-A\t\tARP answer mode, update your neighbours\n" \
52 "\t-c count\tStop after sending count ARP request packets\n" \
53 "\t-w timeout\tTime to wait for ARP reply, in seconds\n" \
54 "\t-I device\tOutgoing interface name, default is eth0\n" \
55 "\t-s sender\tSet specific sender IP address\n" \
56 "\ttarget\t\tTarget IP address of ARP request\n"
57
41#define awk_trivial_usage \ 58#define awk_trivial_usage \
42 "[-v var=val][-F sep] { -f progname | 'programtext' } [FILE ...]" 59 "[-v var=val][-F sep] { -f progname | 'programtext' } [FILE ...]"
43#define awk_full_usage \ 60#define awk_full_usage \