diff options
author | Pere Orga <gotrunks@gmail.com> | 2011-04-11 03:29:49 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-04-11 03:29:49 +0200 |
commit | 5bc8c005a8e15c43285bc595a8d404de67a482ac (patch) | |
tree | 98f2d35d1db26f4d8cba5f095ff63bf8e2e8d980 /networking/arping.c | |
parent | 73ef15cf3894716c1393ed21dee6e6bb2cdbc90f (diff) | |
download | busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.gz busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.tar.bz2 busybox-w32-5bc8c005a8e15c43285bc595a8d404de67a482ac.zip |
move remaining help text from include/usage.src.h
Signed-off-by: Pere Orga <gotrunks@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/arping.c')
-rw-r--r-- | networking/arping.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/networking/arping.c b/networking/arping.c index 6f6b59cfb..357dcaaf0 100644 --- a/networking/arping.c +++ b/networking/arping.c | |||
@@ -6,6 +6,23 @@ | |||
6 | * Busybox port: Nick Fedchik <nick@fedchik.org.ua> | 6 | * Busybox port: Nick Fedchik <nick@fedchik.org.ua> |
7 | */ | 7 | */ |
8 | 8 | ||
9 | //usage:#define arping_trivial_usage | ||
10 | //usage: "[-fqbDUA] [-c CNT] [-w TIMEOUT] [-I IFACE] [-s SRC_IP] DST_IP" | ||
11 | //usage:#define arping_full_usage "\n\n" | ||
12 | //usage: "Send ARP requests/replies\n" | ||
13 | //usage: "\nOptions:" | ||
14 | //usage: "\n -f Quit on first ARP reply" | ||
15 | //usage: "\n -q Quiet" | ||
16 | //usage: "\n -b Keep broadcasting, don't go unicast" | ||
17 | //usage: "\n -D Duplicated address detection mode" | ||
18 | //usage: "\n -U Unsolicited ARP mode, update your neighbors" | ||
19 | //usage: "\n -A ARP answer mode, update your neighbors" | ||
20 | //usage: "\n -c N Stop after sending N ARP requests" | ||
21 | //usage: "\n -w TIMEOUT Time to wait for ARP reply, seconds" | ||
22 | //usage: "\n -I IFACE Interface to use (default eth0)" | ||
23 | //usage: "\n -s SRC_IP Sender IP address" | ||
24 | //usage: "\n DST_IP Target IP address" | ||
25 | |||
9 | #include <arpa/inet.h> | 26 | #include <arpa/inet.h> |
10 | #include <net/if.h> | 27 | #include <net/if.h> |
11 | #include <netinet/ether.h> | 28 | #include <netinet/ether.h> |