diff options
-rw-r--r-- | networking/ipcalc.c | 26 |
1 files changed, 7 insertions, 19 deletions
diff --git a/networking/ipcalc.c b/networking/ipcalc.c index 4f192e0a5..83937828f 100644 --- a/networking/ipcalc.c +++ b/networking/ipcalc.c | |||
@@ -39,26 +39,14 @@ | |||
39 | //usage: "[OPTIONS] ADDRESS" | 39 | //usage: "[OPTIONS] ADDRESS" |
40 | //usage: IF_FEATURE_IPCALC_FANCY("[/PREFIX]") " [NETMASK]" | 40 | //usage: IF_FEATURE_IPCALC_FANCY("[/PREFIX]") " [NETMASK]" |
41 | //usage:#define ipcalc_full_usage "\n\n" | 41 | //usage:#define ipcalc_full_usage "\n\n" |
42 | //usage: "Calculate IP network settings from a IP address\n" | 42 | //usage: "Calculate and display network settings from IP address\n" |
43 | //usage: IF_FEATURE_IPCALC_LONG_OPTIONS( | 43 | //usage: "\n -b Broadcast address" |
44 | //usage: "\n -b,--broadcast Display calculated broadcast address" | 44 | //usage: "\n -n Network address" |
45 | //usage: "\n -n,--network Display calculated network address" | 45 | //usage: "\n -m Default netmask for IP" |
46 | //usage: "\n -m,--netmask Display default netmask for IP" | ||
47 | //usage: IF_FEATURE_IPCALC_FANCY( | 46 | //usage: IF_FEATURE_IPCALC_FANCY( |
48 | //usage: "\n -p,--prefix Display the prefix for IP/NETMASK" | 47 | //usage: "\n -p Prefix for IP/NETMASK" |
49 | //usage: "\n -h,--hostname Display first resolved host name" | 48 | //usage: "\n -h Resolved host name" |
50 | //usage: "\n -s,--silent Don't ever display error messages" | 49 | //usage: "\n -s No error messages" |
51 | //usage: ) | ||
52 | //usage: ) | ||
53 | //usage: IF_NOT_FEATURE_IPCALC_LONG_OPTIONS( | ||
54 | //usage: "\n -b Display calculated broadcast address" | ||
55 | //usage: "\n -n Display calculated network address" | ||
56 | //usage: "\n -m Display default netmask for IP" | ||
57 | //usage: IF_FEATURE_IPCALC_FANCY( | ||
58 | //usage: "\n -p Display the prefix for IP/NETMASK" | ||
59 | //usage: "\n -h Display first resolved host name" | ||
60 | //usage: "\n -s Don't ever display error messages" | ||
61 | //usage: ) | ||
62 | //usage: ) | 50 | //usage: ) |
63 | 51 | ||
64 | #include "libbb.h" | 52 | #include "libbb.h" |