diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-06-05 03:58:28 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-06-05 03:58:28 +0200 |
commit | 66426760beef7e87c4735f433d123daf911b5b4a (patch) | |
tree | 7aa341ba4d1b01b69feeb878d1b78f974207abb0 /networking | |
parent | 9f7780250ce4bbee9c0a8f1044875e303479e196 (diff) | |
download | busybox-w32-66426760beef7e87c4735f433d123daf911b5b4a.tar.gz busybox-w32-66426760beef7e87c4735f433d123daf911b5b4a.tar.bz2 busybox-w32-66426760beef7e87c4735f433d123daf911b5b4a.zip |
*: remove "Options:" string from help texts
function old new delta
packed_usage 28706 28623 -83
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
35 files changed, 6 insertions, 44 deletions
diff --git a/networking/arp.c b/networking/arp.c index 3f68f5cf7..696c402e0 100644 --- a/networking/arp.c +++ b/networking/arp.c | |||
@@ -21,7 +21,6 @@ | |||
21 | //usage: "\n[-v] [-H HWTYPE] [-i IF] -Ds HOSTNAME IFACE [netmask MASK] pub" | 21 | //usage: "\n[-v] [-H HWTYPE] [-i IF] -Ds HOSTNAME IFACE [netmask MASK] pub" |
22 | //usage:#define arp_full_usage "\n\n" | 22 | //usage:#define arp_full_usage "\n\n" |
23 | //usage: "Manipulate ARP cache\n" | 23 | //usage: "Manipulate ARP cache\n" |
24 | //usage: "\nOptions:" | ||
25 | //usage: "\n -a Display (all) hosts" | 24 | //usage: "\n -a Display (all) hosts" |
26 | //usage: "\n -s Set new ARP entry" | 25 | //usage: "\n -s Set new ARP entry" |
27 | //usage: "\n -d Delete a specified entry" | 26 | //usage: "\n -d Delete a specified entry" |
diff --git a/networking/arping.c b/networking/arping.c index 357dcaaf0..a4421edcb 100644 --- a/networking/arping.c +++ b/networking/arping.c | |||
@@ -10,7 +10,6 @@ | |||
10 | //usage: "[-fqbDUA] [-c CNT] [-w TIMEOUT] [-I IFACE] [-s SRC_IP] DST_IP" | 10 | //usage: "[-fqbDUA] [-c CNT] [-w TIMEOUT] [-I IFACE] [-s SRC_IP] DST_IP" |
11 | //usage:#define arping_full_usage "\n\n" | 11 | //usage:#define arping_full_usage "\n\n" |
12 | //usage: "Send ARP requests/replies\n" | 12 | //usage: "Send ARP requests/replies\n" |
13 | //usage: "\nOptions:" | ||
14 | //usage: "\n -f Quit on first ARP reply" | 13 | //usage: "\n -f Quit on first ARP reply" |
15 | //usage: "\n -q Quiet" | 14 | //usage: "\n -q Quiet" |
16 | //usage: "\n -b Keep broadcasting, don't go unicast" | 15 | //usage: "\n -b Keep broadcasting, don't go unicast" |
diff --git a/networking/dnsd.c b/networking/dnsd.c index 65eae9670..d80306d3d 100644 --- a/networking/dnsd.c +++ b/networking/dnsd.c | |||
@@ -21,7 +21,6 @@ | |||
21 | //usage: "[-dvs] [-c CONFFILE] [-t TTL_SEC] [-p PORT] [-i ADDR]" | 21 | //usage: "[-dvs] [-c CONFFILE] [-t TTL_SEC] [-p PORT] [-i ADDR]" |
22 | //usage:#define dnsd_full_usage "\n\n" | 22 | //usage:#define dnsd_full_usage "\n\n" |
23 | //usage: "Small static DNS server daemon\n" | 23 | //usage: "Small static DNS server daemon\n" |
24 | //usage: "\nOptions:" | ||
25 | //usage: "\n -c FILE Config file" | 24 | //usage: "\n -c FILE Config file" |
26 | //usage: "\n -t SEC TTL" | 25 | //usage: "\n -t SEC TTL" |
27 | //usage: "\n -p PORT Listen on PORT" | 26 | //usage: "\n -p PORT Listen on PORT" |
diff --git a/networking/ether-wake.c b/networking/ether-wake.c index 7bb9aa5a7..260ba2463 100644 --- a/networking/ether-wake.c +++ b/networking/ether-wake.c | |||
@@ -70,7 +70,6 @@ | |||
70 | //usage: "Send a magic packet to wake up sleeping machines.\n" | 70 | //usage: "Send a magic packet to wake up sleeping machines.\n" |
71 | //usage: "MAC must be a station address (00:11:22:33:44:55) or\n" | 71 | //usage: "MAC must be a station address (00:11:22:33:44:55) or\n" |
72 | //usage: "a hostname with a known 'ethers' entry.\n" | 72 | //usage: "a hostname with a known 'ethers' entry.\n" |
73 | //usage: "\nOptions:" | ||
74 | //usage: "\n -b Send wake-up packet to the broadcast address" | 73 | //usage: "\n -b Send wake-up packet to the broadcast address" |
75 | //usage: "\n -i iface Interface to use (default eth0)" | 74 | //usage: "\n -i iface Interface to use (default eth0)" |
76 | //usage: "\n -p pass Append four or six byte password PW to the packet" | 75 | //usage: "\n -p pass Append four or six byte password PW to the packet" |
diff --git a/networking/ftpd.c b/networking/ftpd.c index fae634ec4..e38138c0a 100644 --- a/networking/ftpd.c +++ b/networking/ftpd.c | |||
@@ -22,7 +22,6 @@ | |||
22 | //usage: " 21 stream tcp nowait root ftpd ftpd /files/to/serve\n" | 22 | //usage: " 21 stream tcp nowait root ftpd ftpd /files/to/serve\n" |
23 | //usage: "It also can be ran from tcpsvd:\n" | 23 | //usage: "It also can be ran from tcpsvd:\n" |
24 | //usage: " tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve\n" | 24 | //usage: " tcpsvd -vE 0.0.0.0 21 ftpd /files/to/serve\n" |
25 | //usage: "\nOptions:" | ||
26 | //usage: "\n -w Allow upload" | 25 | //usage: "\n -w Allow upload" |
27 | //usage: "\n -v Log errors to stderr. -vv: verbose log" | 26 | //usage: "\n -v Log errors to stderr. -vv: verbose log" |
28 | //usage: "\n -S Log errors to syslog. -SS: verbose log" | 27 | //usage: "\n -S Log errors to syslog. -SS: verbose log" |
diff --git a/networking/ftpgetput.c b/networking/ftpgetput.c index f63df55f4..abdf94c45 100644 --- a/networking/ftpgetput.c +++ b/networking/ftpgetput.c | |||
@@ -17,7 +17,6 @@ | |||
17 | //usage: "[OPTIONS] HOST [LOCAL_FILE] REMOTE_FILE" | 17 | //usage: "[OPTIONS] HOST [LOCAL_FILE] REMOTE_FILE" |
18 | //usage:#define ftpget_full_usage "\n\n" | 18 | //usage:#define ftpget_full_usage "\n\n" |
19 | //usage: "Retrieve a remote file via FTP\n" | 19 | //usage: "Retrieve a remote file via FTP\n" |
20 | //usage: "\nOptions:" | ||
21 | //usage: IF_FEATURE_FTPGETPUT_LONG_OPTIONS( | 20 | //usage: IF_FEATURE_FTPGETPUT_LONG_OPTIONS( |
22 | //usage: "\n -c,--continue Continue previous transfer" | 21 | //usage: "\n -c,--continue Continue previous transfer" |
23 | //usage: "\n -v,--verbose Verbose" | 22 | //usage: "\n -v,--verbose Verbose" |
@@ -37,7 +36,6 @@ | |||
37 | //usage: "[OPTIONS] HOST [REMOTE_FILE] LOCAL_FILE" | 36 | //usage: "[OPTIONS] HOST [REMOTE_FILE] LOCAL_FILE" |
38 | //usage:#define ftpput_full_usage "\n\n" | 37 | //usage:#define ftpput_full_usage "\n\n" |
39 | //usage: "Store a local file on a remote machine via FTP\n" | 38 | //usage: "Store a local file on a remote machine via FTP\n" |
40 | //usage: "\nOptions:" | ||
41 | //usage: IF_FEATURE_FTPGETPUT_LONG_OPTIONS( | 39 | //usage: IF_FEATURE_FTPGETPUT_LONG_OPTIONS( |
42 | //usage: "\n -v,--verbose Verbose" | 40 | //usage: "\n -v,--verbose Verbose" |
43 | //usage: "\n -u,--username Username" | 41 | //usage: "\n -u,--username Username" |
diff --git a/networking/hostname.c b/networking/hostname.c index 49a3e89bb..5f663908c 100644 --- a/networking/hostname.c +++ b/networking/hostname.c | |||
@@ -14,7 +14,6 @@ | |||
14 | //usage: "[OPTIONS] [HOSTNAME | -F FILE]" | 14 | //usage: "[OPTIONS] [HOSTNAME | -F FILE]" |
15 | //usage:#define hostname_full_usage "\n\n" | 15 | //usage:#define hostname_full_usage "\n\n" |
16 | //usage: "Get or set hostname or DNS domain name\n" | 16 | //usage: "Get or set hostname or DNS domain name\n" |
17 | //usage: "\nOptions:" | ||
18 | //usage: "\n -s Short" | 17 | //usage: "\n -s Short" |
19 | //usage: "\n -i Addresses for the hostname" | 18 | //usage: "\n -i Addresses for the hostname" |
20 | //usage: "\n -d DNS domain name" | 19 | //usage: "\n -d DNS domain name" |
diff --git a/networking/httpd.c b/networking/httpd.c index d77342a2a..ba5eebad5 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -107,7 +107,6 @@ | |||
107 | //usage: "or httpd -d/-e" IF_FEATURE_HTTPD_AUTH_MD5("/-m") " STRING" | 107 | //usage: "or httpd -d/-e" IF_FEATURE_HTTPD_AUTH_MD5("/-m") " STRING" |
108 | //usage:#define httpd_full_usage "\n\n" | 108 | //usage:#define httpd_full_usage "\n\n" |
109 | //usage: "Listen for incoming HTTP requests\n" | 109 | //usage: "Listen for incoming HTTP requests\n" |
110 | //usage: "\nOptions:" | ||
111 | //usage: "\n -i Inetd mode" | 110 | //usage: "\n -i Inetd mode" |
112 | //usage: "\n -f Don't daemonize" | 111 | //usage: "\n -f Don't daemonize" |
113 | //usage: "\n -v[v] Verbose" | 112 | //usage: "\n -v[v] Verbose" |
diff --git a/networking/ifconfig.c b/networking/ifconfig.c index 220b02126..2a56da561 100644 --- a/networking/ifconfig.c +++ b/networking/ifconfig.c | |||
@@ -30,7 +30,6 @@ | |||
30 | //usage: IF_FEATURE_IFCONFIG_STATUS("[-a]") " interface [address]" | 30 | //usage: IF_FEATURE_IFCONFIG_STATUS("[-a]") " interface [address]" |
31 | //usage:#define ifconfig_full_usage "\n\n" | 31 | //usage:#define ifconfig_full_usage "\n\n" |
32 | //usage: "Configure a network interface\n" | 32 | //usage: "Configure a network interface\n" |
33 | //usage: "\nOptions:" | ||
34 | //usage: "\n" | 33 | //usage: "\n" |
35 | //usage: IF_FEATURE_IPV6( | 34 | //usage: IF_FEATURE_IPV6( |
36 | //usage: " [add ADDRESS[/PREFIXLEN]]\n") | 35 | //usage: " [add ADDRESS[/PREFIXLEN]]\n") |
diff --git a/networking/ifenslave.c b/networking/ifenslave.c index 208623e7d..ae7719f52 100644 --- a/networking/ifenslave.c +++ b/networking/ifenslave.c | |||
@@ -102,7 +102,6 @@ | |||
102 | //usage: "[-cdf] MASTER_IFACE SLAVE_IFACE..." | 102 | //usage: "[-cdf] MASTER_IFACE SLAVE_IFACE..." |
103 | //usage:#define ifenslave_full_usage "\n\n" | 103 | //usage:#define ifenslave_full_usage "\n\n" |
104 | //usage: "Configure network interfaces for parallel routing\n" | 104 | //usage: "Configure network interfaces for parallel routing\n" |
105 | //usage: "\nOptions:" | ||
106 | //usage: "\n -c,--change-active Change active slave" | 105 | //usage: "\n -c,--change-active Change active slave" |
107 | //usage: "\n -d,--detach Remove slave interface from bonding device" | 106 | //usage: "\n -d,--detach Remove slave interface from bonding device" |
108 | //usage: "\n -f,--force Force, even if interface is not Ethernet" | 107 | //usage: "\n -f,--force Force, even if interface is not Ethernet" |
diff --git a/networking/ifplugd.c b/networking/ifplugd.c index 421611aae..57d04e67b 100644 --- a/networking/ifplugd.c +++ b/networking/ifplugd.c | |||
@@ -11,7 +11,6 @@ | |||
11 | //usage: "[OPTIONS]" | 11 | //usage: "[OPTIONS]" |
12 | //usage:#define ifplugd_full_usage "\n\n" | 12 | //usage:#define ifplugd_full_usage "\n\n" |
13 | //usage: "Network interface plug detection daemon\n" | 13 | //usage: "Network interface plug detection daemon\n" |
14 | //usage: "\nOptions:" | ||
15 | //usage: "\n -n Don't daemonize" | 14 | //usage: "\n -n Don't daemonize" |
16 | //usage: "\n -s Don't log to syslog" | 15 | //usage: "\n -s Don't log to syslog" |
17 | //usage: "\n -i IFACE Interface" | 16 | //usage: "\n -i IFACE Interface" |
diff --git a/networking/ifupdown.c b/networking/ifupdown.c index b48abb7dc..382033038 100644 --- a/networking/ifupdown.c +++ b/networking/ifupdown.c | |||
@@ -20,8 +20,7 @@ | |||
20 | //usage:#define ifup_trivial_usage | 20 | //usage:#define ifup_trivial_usage |
21 | //usage: "[-an"IF_FEATURE_IFUPDOWN_MAPPING("m")"vf] [-i FILE] IFACE..." | 21 | //usage: "[-an"IF_FEATURE_IFUPDOWN_MAPPING("m")"vf] [-i FILE] IFACE..." |
22 | //usage:#define ifup_full_usage "\n\n" | 22 | //usage:#define ifup_full_usage "\n\n" |
23 | //usage: "Options:" | 23 | //usage: " -a De/configure all interfaces automatically" |
24 | //usage: "\n -a De/configure all interfaces automatically" | ||
25 | //usage: "\n -i FILE Use FILE for interface definitions" | 24 | //usage: "\n -i FILE Use FILE for interface definitions" |
26 | //usage: "\n -n Print out what would happen, but don't do it" | 25 | //usage: "\n -n Print out what would happen, but don't do it" |
27 | //usage: IF_FEATURE_IFUPDOWN_MAPPING( | 26 | //usage: IF_FEATURE_IFUPDOWN_MAPPING( |
@@ -34,8 +33,7 @@ | |||
34 | //usage:#define ifdown_trivial_usage | 33 | //usage:#define ifdown_trivial_usage |
35 | //usage: "[-an"IF_FEATURE_IFUPDOWN_MAPPING("m")"vf] [-i FILE] IFACE..." | 34 | //usage: "[-an"IF_FEATURE_IFUPDOWN_MAPPING("m")"vf] [-i FILE] IFACE..." |
36 | //usage:#define ifdown_full_usage "\n\n" | 35 | //usage:#define ifdown_full_usage "\n\n" |
37 | //usage: "Options:" | 36 | //usage: " -a De/configure all interfaces automatically" |
38 | //usage: "\n -a De/configure all interfaces automatically" | ||
39 | //usage: "\n -i FILE Use FILE for interface definitions" | 37 | //usage: "\n -i FILE Use FILE for interface definitions" |
40 | //usage: "\n -n Print out what would happen, but don't do it" | 38 | //usage: "\n -n Print out what would happen, but don't do it" |
41 | //usage: IF_FEATURE_IFUPDOWN_MAPPING( | 39 | //usage: IF_FEATURE_IFUPDOWN_MAPPING( |
diff --git a/networking/inetd.c b/networking/inetd.c index 58ae089d1..26348fa93 100644 --- a/networking/inetd.c +++ b/networking/inetd.c | |||
@@ -158,10 +158,9 @@ | |||
158 | //usage: "[-fe] [-q N] [-R N] [CONFFILE]" | 158 | //usage: "[-fe] [-q N] [-R N] [CONFFILE]" |
159 | //usage:#define inetd_full_usage "\n\n" | 159 | //usage:#define inetd_full_usage "\n\n" |
160 | //usage: "Listen for network connections and launch programs\n" | 160 | //usage: "Listen for network connections and launch programs\n" |
161 | //usage: "\nOptions:" | ||
162 | //usage: "\n -f Run in foreground" | 161 | //usage: "\n -f Run in foreground" |
163 | //usage: "\n -e Log to stderr" | 162 | //usage: "\n -e Log to stderr" |
164 | //usage: "\n -q N Socket listen queue (default: 128)" | 163 | //usage: "\n -q N Socket listen queue (default: 128)" |
165 | //usage: "\n -R N Pause services after N connects/min" | 164 | //usage: "\n -R N Pause services after N connects/min" |
166 | //usage: "\n (default: 0 - disabled)" | 165 | //usage: "\n (default: 0 - disabled)" |
167 | 166 | ||
diff --git a/networking/ip.c b/networking/ip.c index 98d583325..fb2f5e2da 100644 --- a/networking/ip.c +++ b/networking/ip.c | |||
@@ -55,7 +55,7 @@ | |||
55 | //usage:#define iproute_full_usage "\n\n" | 55 | //usage:#define iproute_full_usage "\n\n" |
56 | //usage: "iproute { list | flush } SELECTOR\n" | 56 | //usage: "iproute { list | flush } SELECTOR\n" |
57 | //usage: "iproute get ADDRESS [from ADDRESS iif STRING]\n" | 57 | //usage: "iproute get ADDRESS [from ADDRESS iif STRING]\n" |
58 | //usage: " [oif STRING] [tos TOS]\n" | 58 | //usage: " [oif STRING] [tos TOS]\n" |
59 | //usage: "iproute { add | del | change | append | replace | monitor } ROUTE\n" | 59 | //usage: "iproute { add | del | change | append | replace | monitor } ROUTE\n" |
60 | //usage: " SELECTOR := [root PREFIX] [match PREFIX] [proto RTPROTO]\n" | 60 | //usage: " SELECTOR := [root PREFIX] [match PREFIX] [proto RTPROTO]\n" |
61 | //usage: " ROUTE := [TYPE] PREFIX [tos TOS] [proto RTPROTO]\n" | 61 | //usage: " ROUTE := [TYPE] PREFIX [tos TOS] [proto RTPROTO]\n" |
diff --git a/networking/ipcalc.c b/networking/ipcalc.c index f96c73912..3c8b8bfc9 100644 --- a/networking/ipcalc.c +++ b/networking/ipcalc.c | |||
@@ -16,7 +16,6 @@ | |||
16 | //usage: "[OPTIONS] ADDRESS[[/]NETMASK] [NETMASK]" | 16 | //usage: "[OPTIONS] ADDRESS[[/]NETMASK] [NETMASK]" |
17 | //usage:#define ipcalc_full_usage "\n\n" | 17 | //usage:#define ipcalc_full_usage "\n\n" |
18 | //usage: "Calculate IP network settings from a IP address\n" | 18 | //usage: "Calculate IP network settings from a IP address\n" |
19 | //usage: "\nOptions:" | ||
20 | //usage: IF_FEATURE_IPCALC_LONG_OPTIONS( | 19 | //usage: IF_FEATURE_IPCALC_LONG_OPTIONS( |
21 | //usage: "\n -b,--broadcast Display calculated broadcast address" | 20 | //usage: "\n -b,--broadcast Display calculated broadcast address" |
22 | //usage: "\n -n,--network Display calculated network address" | 21 | //usage: "\n -n,--network Display calculated network address" |
diff --git a/networking/isrv_identd.c b/networking/isrv_identd.c index 199e11225..a41405c33 100644 --- a/networking/isrv_identd.c +++ b/networking/isrv_identd.c | |||
@@ -11,7 +11,6 @@ | |||
11 | //usage: "[-fiw] [-b ADDR] [STRING]" | 11 | //usage: "[-fiw] [-b ADDR] [STRING]" |
12 | //usage:#define fakeidentd_full_usage "\n\n" | 12 | //usage:#define fakeidentd_full_usage "\n\n" |
13 | //usage: "Provide fake ident (auth) service\n" | 13 | //usage: "Provide fake ident (auth) service\n" |
14 | //usage: "\nOptions:" | ||
15 | //usage: "\n -f Run in foreground" | 14 | //usage: "\n -f Run in foreground" |
16 | //usage: "\n -i Inetd mode" | 15 | //usage: "\n -i Inetd mode" |
17 | //usage: "\n -w Inetd 'wait' mode" | 16 | //usage: "\n -w Inetd 'wait' mode" |
diff --git a/networking/nameif.c b/networking/nameif.c index 78719edac..9a16b0fbc 100644 --- a/networking/nameif.c +++ b/networking/nameif.c | |||
@@ -61,7 +61,6 @@ | |||
61 | //usage: "\n [mac=]XX:XX:XX:XX:XX:XX" | 61 | //usage: "\n [mac=]XX:XX:XX:XX:XX:XX" |
62 | //usage: ) | 62 | //usage: ) |
63 | //usage: "\n" | 63 | //usage: "\n" |
64 | //usage: "\nOptions:" | ||
65 | //usage: "\n -c FILE Configuration file (default: /etc/mactab)" | 64 | //usage: "\n -c FILE Configuration file (default: /etc/mactab)" |
66 | //usage: "\n -s Log to syslog" | 65 | //usage: "\n -s Log to syslog" |
67 | //usage: | 66 | //usage: |
diff --git a/networking/nc.c b/networking/nc.c index 31d450dda..1b32e3aa3 100644 --- a/networking/nc.c +++ b/networking/nc.c | |||
@@ -49,7 +49,7 @@ | |||
49 | //usage:#if !ENABLE_NC_110_COMPAT | 49 | //usage:#if !ENABLE_NC_110_COMPAT |
50 | //usage: | 50 | //usage: |
51 | //usage:#if ENABLE_NC_SERVER || ENABLE_NC_EXTRA | 51 | //usage:#if ENABLE_NC_SERVER || ENABLE_NC_EXTRA |
52 | //usage:#define NC_OPTIONS_STR "\n\nOptions:" | 52 | //usage:#define NC_OPTIONS_STR "\n" |
53 | //usage:#else | 53 | //usage:#else |
54 | //usage:#define NC_OPTIONS_STR | 54 | //usage:#define NC_OPTIONS_STR |
55 | //usage:#endif | 55 | //usage:#endif |
diff --git a/networking/nc_bloaty.c b/networking/nc_bloaty.c index 29f99e76b..1daad1358 100644 --- a/networking/nc_bloaty.c +++ b/networking/nc_bloaty.c | |||
@@ -60,8 +60,7 @@ | |||
60 | //usage: "nc [OPTIONS] -l -p PORT [HOST] [PORT] - listen" | 60 | //usage: "nc [OPTIONS] -l -p PORT [HOST] [PORT] - listen" |
61 | //usage: ) | 61 | //usage: ) |
62 | //usage:#define nc_full_usage "\n\n" | 62 | //usage:#define nc_full_usage "\n\n" |
63 | //usage: "Options:" | 63 | //usage: " -e PROG Run PROG after connect (must be last)" |
64 | //usage: "\n -e PROG Run PROG after connect (must be last)" | ||
65 | //usage: IF_NC_SERVER( | 64 | //usage: IF_NC_SERVER( |
66 | //usage: "\n -l Listen mode, for inbound connects" | 65 | //usage: "\n -l Listen mode, for inbound connects" |
67 | //usage: ) | 66 | //usage: ) |
diff --git a/networking/netstat.c b/networking/netstat.c index 356fb53cb..9c239579f 100644 --- a/networking/netstat.c +++ b/networking/netstat.c | |||
@@ -21,7 +21,6 @@ | |||
21 | //usage: "[-"IF_ROUTE("r")"al] [-tuwx] [-en"IF_FEATURE_NETSTAT_WIDE("W")IF_FEATURE_NETSTAT_PRG("p")"]" | 21 | //usage: "[-"IF_ROUTE("r")"al] [-tuwx] [-en"IF_FEATURE_NETSTAT_WIDE("W")IF_FEATURE_NETSTAT_PRG("p")"]" |
22 | //usage:#define netstat_full_usage "\n\n" | 22 | //usage:#define netstat_full_usage "\n\n" |
23 | //usage: "Display networking information\n" | 23 | //usage: "Display networking information\n" |
24 | //usage: "\nOptions:" | ||
25 | //usage: IF_ROUTE( | 24 | //usage: IF_ROUTE( |
26 | //usage: "\n -r Routing table" | 25 | //usage: "\n -r Routing table" |
27 | //usage: ) | 26 | //usage: ) |
diff --git a/networking/ntpd.c b/networking/ntpd.c index 165673a1e..206af00c7 100644 --- a/networking/ntpd.c +++ b/networking/ntpd.c | |||
@@ -32,7 +32,6 @@ | |||
32 | //usage: "[-dnqNw"IF_FEATURE_NTPD_SERVER("l")"] [-S PROG] [-p PEER]..." | 32 | //usage: "[-dnqNw"IF_FEATURE_NTPD_SERVER("l")"] [-S PROG] [-p PEER]..." |
33 | //usage:#define ntpd_full_usage "\n\n" | 33 | //usage:#define ntpd_full_usage "\n\n" |
34 | //usage: "NTP client/server\n" | 34 | //usage: "NTP client/server\n" |
35 | //usage: "\nOptions:" | ||
36 | //usage: "\n -d Verbose" | 35 | //usage: "\n -d Verbose" |
37 | //usage: "\n -n Do not daemonize" | 36 | //usage: "\n -n Do not daemonize" |
38 | //usage: "\n -q Quit after clock is set" | 37 | //usage: "\n -q Quit after clock is set" |
diff --git a/networking/ping.c b/networking/ping.c index 7a9c2d1f0..d75747984 100644 --- a/networking/ping.c +++ b/networking/ping.c | |||
@@ -73,7 +73,6 @@ | |||
73 | //usage: "[OPTIONS] HOST" | 73 | //usage: "[OPTIONS] HOST" |
74 | //usage:# define ping_full_usage "\n\n" | 74 | //usage:# define ping_full_usage "\n\n" |
75 | //usage: "Send ICMP ECHO_REQUEST packets to network hosts\n" | 75 | //usage: "Send ICMP ECHO_REQUEST packets to network hosts\n" |
76 | //usage: "\nOptions:" | ||
77 | //usage: "\n -4,-6 Force IP or IPv6 name resolution" | 76 | //usage: "\n -4,-6 Force IP or IPv6 name resolution" |
78 | //usage: "\n -c CNT Send only CNT pings" | 77 | //usage: "\n -c CNT Send only CNT pings" |
79 | //usage: "\n -s SIZE Send SIZE data bytes in packets (default:56)" | 78 | //usage: "\n -s SIZE Send SIZE data bytes in packets (default:56)" |
@@ -90,7 +89,6 @@ | |||
90 | //usage: "[OPTIONS] HOST" | 89 | //usage: "[OPTIONS] HOST" |
91 | //usage:# define ping6_full_usage "\n\n" | 90 | //usage:# define ping6_full_usage "\n\n" |
92 | //usage: "Send ICMP ECHO_REQUEST packets to network hosts\n" | 91 | //usage: "Send ICMP ECHO_REQUEST packets to network hosts\n" |
93 | //usage: "\nOptions:" | ||
94 | //usage: "\n -c CNT Send only CNT pings" | 92 | //usage: "\n -c CNT Send only CNT pings" |
95 | //usage: "\n -s SIZE Send SIZE data bytes in packets (default:56)" | 93 | //usage: "\n -s SIZE Send SIZE data bytes in packets (default:56)" |
96 | //usage: "\n -I IFACE/IP Use interface or IP address as source" | 94 | //usage: "\n -I IFACE/IP Use interface or IP address as source" |
diff --git a/networking/pscan.c b/networking/pscan.c index 5595148fc..28005ad57 100644 --- a/networking/pscan.c +++ b/networking/pscan.c | |||
@@ -10,7 +10,6 @@ | |||
10 | //usage: "[-cb] [-p MIN_PORT] [-P MAX_PORT] [-t TIMEOUT] [-T MIN_RTT] HOST" | 10 | //usage: "[-cb] [-p MIN_PORT] [-P MAX_PORT] [-t TIMEOUT] [-T MIN_RTT] HOST" |
11 | //usage:#define pscan_full_usage "\n\n" | 11 | //usage:#define pscan_full_usage "\n\n" |
12 | //usage: "Scan a host, print all open ports\n" | 12 | //usage: "Scan a host, print all open ports\n" |
13 | //usage: "\nOptions:" | ||
14 | //usage: "\n -c Show closed ports too" | 13 | //usage: "\n -c Show closed ports too" |
15 | //usage: "\n -b Show blocked ports too" | 14 | //usage: "\n -b Show blocked ports too" |
16 | //usage: "\n -p Scan from this port (default 1)" | 15 | //usage: "\n -p Scan from this port (default 1)" |
diff --git a/networking/route.c b/networking/route.c index 6699a1c32..b7b5a02e6 100644 --- a/networking/route.c +++ b/networking/route.c | |||
@@ -29,7 +29,6 @@ | |||
29 | //usage: "[{add|del|delete}]" | 29 | //usage: "[{add|del|delete}]" |
30 | //usage:#define route_full_usage "\n\n" | 30 | //usage:#define route_full_usage "\n\n" |
31 | //usage: "Edit kernel routing tables\n" | 31 | //usage: "Edit kernel routing tables\n" |
32 | //usage: "\nOptions:" | ||
33 | //usage: "\n -n Don't resolve names" | 32 | //usage: "\n -n Don't resolve names" |
34 | //usage: "\n -e Display other/more information" | 33 | //usage: "\n -e Display other/more information" |
35 | //usage: "\n -A inet" IF_FEATURE_IPV6("{6}") " Select address family" | 34 | //usage: "\n -A inet" IF_FEATURE_IPV6("{6}") " Select address family" |
diff --git a/networking/slattach.c b/networking/slattach.c index d1221b11a..a500da6d0 100644 --- a/networking/slattach.c +++ b/networking/slattach.c | |||
@@ -17,7 +17,6 @@ | |||
17 | //usage: "[-cehmLF] [-s SPEED] [-p PROTOCOL] DEVICE" | 17 | //usage: "[-cehmLF] [-s SPEED] [-p PROTOCOL] DEVICE" |
18 | //usage:#define slattach_full_usage "\n\n" | 18 | //usage:#define slattach_full_usage "\n\n" |
19 | //usage: "Attach network interface(s) to serial line(s)\n" | 19 | //usage: "Attach network interface(s) to serial line(s)\n" |
20 | //usage: "\nOptions:" | ||
21 | //usage: "\n -p PROT Set protocol (slip, cslip, slip6, clisp6 or adaptive)" | 20 | //usage: "\n -p PROT Set protocol (slip, cslip, slip6, clisp6 or adaptive)" |
22 | //usage: "\n -s SPD Set line speed" | 21 | //usage: "\n -s SPD Set line speed" |
23 | //usage: "\n -e Exit after initializing device" | 22 | //usage: "\n -e Exit after initializing device" |
diff --git a/networking/telnet.c b/networking/telnet.c index 1f0d85107..6dd0de53a 100644 --- a/networking/telnet.c +++ b/networking/telnet.c | |||
@@ -26,7 +26,6 @@ | |||
26 | //usage: "[-a] [-l USER] HOST [PORT]" | 26 | //usage: "[-a] [-l USER] HOST [PORT]" |
27 | //usage:#define telnet_full_usage "\n\n" | 27 | //usage:#define telnet_full_usage "\n\n" |
28 | //usage: "Connect to telnet server\n" | 28 | //usage: "Connect to telnet server\n" |
29 | //usage: "\nOptions:" | ||
30 | //usage: "\n -a Automatic login with $USER variable" | 29 | //usage: "\n -a Automatic login with $USER variable" |
31 | //usage: "\n -l USER Automatic login as USER" | 30 | //usage: "\n -l USER Automatic login as USER" |
32 | //usage: | 31 | //usage: |
diff --git a/networking/telnetd.c b/networking/telnetd.c index 4404064fc..33020f1b4 100644 --- a/networking/telnetd.c +++ b/networking/telnetd.c | |||
@@ -26,7 +26,6 @@ | |||
26 | //usage:#define telnetd_full_usage "\n\n" | 26 | //usage:#define telnetd_full_usage "\n\n" |
27 | //usage: "Handle incoming telnet connections" | 27 | //usage: "Handle incoming telnet connections" |
28 | //usage: IF_NOT_FEATURE_TELNETD_STANDALONE(" via inetd") "\n" | 28 | //usage: IF_NOT_FEATURE_TELNETD_STANDALONE(" via inetd") "\n" |
29 | //usage: "\nOptions:" | ||
30 | //usage: "\n -l LOGIN Exec LOGIN on connect" | 29 | //usage: "\n -l LOGIN Exec LOGIN on connect" |
31 | //usage: "\n -f ISSUE_FILE Display ISSUE_FILE instead of /etc/issue" | 30 | //usage: "\n -f ISSUE_FILE Display ISSUE_FILE instead of /etc/issue" |
32 | //usage: "\n -K Close connection as soon as login exits" | 31 | //usage: "\n -K Close connection as soon as login exits" |
diff --git a/networking/tftp.c b/networking/tftp.c index 648441016..17485a527 100644 --- a/networking/tftp.c +++ b/networking/tftp.c | |||
@@ -23,7 +23,6 @@ | |||
23 | //usage: "[OPTIONS] HOST [PORT]" | 23 | //usage: "[OPTIONS] HOST [PORT]" |
24 | //usage:#define tftp_full_usage "\n\n" | 24 | //usage:#define tftp_full_usage "\n\n" |
25 | //usage: "Transfer a file from/to tftp server\n" | 25 | //usage: "Transfer a file from/to tftp server\n" |
26 | //usage: "\nOptions:" | ||
27 | //usage: "\n -l FILE Local FILE" | 26 | //usage: "\n -l FILE Local FILE" |
28 | //usage: "\n -r FILE Remote FILE" | 27 | //usage: "\n -r FILE Remote FILE" |
29 | //usage: IF_FEATURE_TFTP_GET( | 28 | //usage: IF_FEATURE_TFTP_GET( |
@@ -46,7 +45,6 @@ | |||
46 | //usage: " 69 dgram udp nowait root tftpd tftpd -l /files/to/serve\n" | 45 | //usage: " 69 dgram udp nowait root tftpd tftpd -l /files/to/serve\n" |
47 | //usage: "It also can be ran from udpsvd:\n" | 46 | //usage: "It also can be ran from udpsvd:\n" |
48 | //usage: " udpsvd -vE 0.0.0.0 69 tftpd /files/to/serve\n" | 47 | //usage: " udpsvd -vE 0.0.0.0 69 tftpd /files/to/serve\n" |
49 | //usage: "\nOptions:" | ||
50 | //usage: "\n -r Prohibit upload" | 48 | //usage: "\n -r Prohibit upload" |
51 | //usage: "\n -c Allow file creation via upload" | 49 | //usage: "\n -c Allow file creation via upload" |
52 | //usage: "\n -u Access files as USER" | 50 | //usage: "\n -u Access files as USER" |
diff --git a/networking/traceroute.c b/networking/traceroute.c index 85181ab8d..c32103519 100644 --- a/networking/traceroute.c +++ b/networking/traceroute.c | |||
@@ -216,7 +216,6 @@ | |||
216 | //usage: " [-z PAUSE_MSEC] HOST [BYTES]" | 216 | //usage: " [-z PAUSE_MSEC] HOST [BYTES]" |
217 | //usage:#define traceroute_full_usage "\n\n" | 217 | //usage:#define traceroute_full_usage "\n\n" |
218 | //usage: "Trace the route to HOST\n" | 218 | //usage: "Trace the route to HOST\n" |
219 | //usage: "\nOptions:" | ||
220 | //usage: IF_TRACEROUTE6( | 219 | //usage: IF_TRACEROUTE6( |
221 | //usage: "\n -4,-6 Force IP or IPv6 name resolution" | 220 | //usage: "\n -4,-6 Force IP or IPv6 name resolution" |
222 | //usage: ) | 221 | //usage: ) |
@@ -242,7 +241,6 @@ | |||
242 | //usage: " HOST [BYTES]" | 241 | //usage: " HOST [BYTES]" |
243 | //usage:#define traceroute6_full_usage "\n\n" | 242 | //usage:#define traceroute6_full_usage "\n\n" |
244 | //usage: "Trace the route to HOST\n" | 243 | //usage: "Trace the route to HOST\n" |
245 | //usage: "\nOptions:" | ||
246 | //usage: "\n -d Set SO_DEBUG options to socket" | 244 | //usage: "\n -d Set SO_DEBUG options to socket" |
247 | //usage: "\n -n Print numeric addresses" | 245 | //usage: "\n -n Print numeric addresses" |
248 | //usage: "\n -r Bypass routing tables, send directly to HOST" | 246 | //usage: "\n -r Bypass routing tables, send directly to HOST" |
diff --git a/networking/tunctl.c b/networking/tunctl.c index 8cb733b68..3a0870eb5 100644 --- a/networking/tunctl.c +++ b/networking/tunctl.c | |||
@@ -14,7 +14,6 @@ | |||
14 | //usage: "[-f device] ([-t name] | -d name)" IF_FEATURE_TUNCTL_UG(" [-u owner] [-g group] [-b]") | 14 | //usage: "[-f device] ([-t name] | -d name)" IF_FEATURE_TUNCTL_UG(" [-u owner] [-g group] [-b]") |
15 | //usage:#define tunctl_full_usage "\n\n" | 15 | //usage:#define tunctl_full_usage "\n\n" |
16 | //usage: "Create or delete tun interfaces\n" | 16 | //usage: "Create or delete tun interfaces\n" |
17 | //usage: "\nOptions:" | ||
18 | //usage: "\n -f name tun device (/dev/net/tun)" | 17 | //usage: "\n -f name tun device (/dev/net/tun)" |
19 | //usage: "\n -t name Create iface 'name'" | 18 | //usage: "\n -t name Create iface 'name'" |
20 | //usage: "\n -d name Delete iface 'name'" | 19 | //usage: "\n -d name Delete iface 'name'" |
diff --git a/networking/udhcp/dumpleases.c b/networking/udhcp/dumpleases.c index ec07192c1..64cd73ec7 100644 --- a/networking/udhcp/dumpleases.c +++ b/networking/udhcp/dumpleases.c | |||
@@ -7,7 +7,6 @@ | |||
7 | //usage: "[-r|-a] [-f LEASEFILE]" | 7 | //usage: "[-r|-a] [-f LEASEFILE]" |
8 | //usage:#define dumpleases_full_usage "\n\n" | 8 | //usage:#define dumpleases_full_usage "\n\n" |
9 | //usage: "Display DHCP leases granted by udhcpd\n" | 9 | //usage: "Display DHCP leases granted by udhcpd\n" |
10 | //usage: "\nOptions:" | ||
11 | //usage: IF_LONG_OPTS( | 10 | //usage: IF_LONG_OPTS( |
12 | //usage: "\n -f,--file=FILE Lease file" | 11 | //usage: "\n -f,--file=FILE Lease file" |
13 | //usage: "\n -r,--remaining Show remaining time" | 12 | //usage: "\n -r,--remaining Show remaining time" |
diff --git a/networking/vconfig.c b/networking/vconfig.c index 4fa341ac3..48b45d9af 100644 --- a/networking/vconfig.c +++ b/networking/vconfig.c | |||
@@ -13,7 +13,6 @@ | |||
13 | //usage: "COMMAND [OPTIONS]" | 13 | //usage: "COMMAND [OPTIONS]" |
14 | //usage:#define vconfig_full_usage "\n\n" | 14 | //usage:#define vconfig_full_usage "\n\n" |
15 | //usage: "Create and remove virtual ethernet devices\n" | 15 | //usage: "Create and remove virtual ethernet devices\n" |
16 | //usage: "\nOptions:" | ||
17 | //usage: "\n add [interface-name] [vlan_id]" | 16 | //usage: "\n add [interface-name] [vlan_id]" |
18 | //usage: "\n rem [vlan-name]" | 17 | //usage: "\n rem [vlan-name]" |
19 | //usage: "\n set_flag [interface-name] [flag-num] [0 | 1]" | 18 | //usage: "\n set_flag [interface-name] [flag-num] [0 | 1]" |
diff --git a/networking/wget.c b/networking/wget.c index df6d36358..6443705fd 100644 --- a/networking/wget.c +++ b/networking/wget.c | |||
@@ -22,7 +22,6 @@ | |||
22 | //usage: ) | 22 | //usage: ) |
23 | //usage:#define wget_full_usage "\n\n" | 23 | //usage:#define wget_full_usage "\n\n" |
24 | //usage: "Retrieve files via HTTP or FTP\n" | 24 | //usage: "Retrieve files via HTTP or FTP\n" |
25 | //usage: "\nOptions:" | ||
26 | //usage: "\n -s Spider mode - only check file existence" | 25 | //usage: "\n -s Spider mode - only check file existence" |
27 | //usage: "\n -c Continue retrieval of aborted transfer" | 26 | //usage: "\n -c Continue retrieval of aborted transfer" |
28 | //usage: "\n -q Quiet" | 27 | //usage: "\n -q Quiet" |
diff --git a/networking/whois.c b/networking/whois.c index 4eab9e5fe..bf330334a 100644 --- a/networking/whois.c +++ b/networking/whois.c | |||
@@ -24,7 +24,6 @@ | |||
24 | //usage: "[-h SERVER] [-p PORT] NAME..." | 24 | //usage: "[-h SERVER] [-p PORT] NAME..." |
25 | //usage:#define whois_full_usage "\n\n" | 25 | //usage:#define whois_full_usage "\n\n" |
26 | //usage: "Query WHOIS info about NAME\n" | 26 | //usage: "Query WHOIS info about NAME\n" |
27 | //usage: "\nOptions:" | ||
28 | //usage: "\n -h,-p Server to query" | 27 | //usage: "\n -h,-p Server to query" |
29 | 28 | ||
30 | #include "libbb.h" | 29 | #include "libbb.h" |
diff --git a/networking/zcip.c b/networking/zcip.c index 7250fb2fd..6b7f2144f 100644 --- a/networking/zcip.c +++ b/networking/zcip.c | |||
@@ -27,7 +27,6 @@ | |||
27 | //usage: "[OPTIONS] IFACE SCRIPT" | 27 | //usage: "[OPTIONS] IFACE SCRIPT" |
28 | //usage:#define zcip_full_usage "\n\n" | 28 | //usage:#define zcip_full_usage "\n\n" |
29 | //usage: "Manage a ZeroConf IPv4 link-local address\n" | 29 | //usage: "Manage a ZeroConf IPv4 link-local address\n" |
30 | //usage: "\nOptions:" | ||
31 | //usage: "\n -f Run in foreground" | 30 | //usage: "\n -f Run in foreground" |
32 | //usage: "\n -q Quit after obtaining address" | 31 | //usage: "\n -q Quit after obtaining address" |
33 | //usage: "\n -r 169.254.x.x Request this address first" | 32 | //usage: "\n -r 169.254.x.x Request this address first" |