diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-29 16:51:17 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-29 16:51:17 +0200 |
commit | 3256111efb6c059400218676cbf78d226d904917 (patch) | |
tree | 3c14abefd014955be43bf31b5ea6fc46495db9ce | |
parent | f27e150fa68c50bc39e229bd276d6ea2af109463 (diff) | |
download | busybox-w32-3256111efb6c059400218676cbf78d226d904917.tar.gz busybox-w32-3256111efb6c059400218676cbf78d226d904917.tar.bz2 busybox-w32-3256111efb6c059400218676cbf78d226d904917.zip |
udhcpc: show only short opts in --help text
function old new delta
packed_usage 31615 31501 -114
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | networking/udhcp/dhcpc.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c index 55e0400b9..99d91bf70 100644 --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c | |||
@@ -1183,44 +1183,6 @@ static void client_background(void) | |||
1183 | //usage: " [-i IFACE]"IF_FEATURE_UDHCP_PORT(" [-P PORT]")" [-s PROG] [-p PIDFILE]\n" | 1183 | //usage: " [-i IFACE]"IF_FEATURE_UDHCP_PORT(" [-P PORT]")" [-s PROG] [-p PIDFILE]\n" |
1184 | //usage: " [-oC] [-r IP] [-V VENDOR] [-F NAME] [-x OPT:VAL]... [-O OPT]..." | 1184 | //usage: " [-oC] [-r IP] [-V VENDOR] [-F NAME] [-x OPT:VAL]... [-O OPT]..." |
1185 | //usage:#define udhcpc_full_usage "\n" | 1185 | //usage:#define udhcpc_full_usage "\n" |
1186 | //usage: IF_LONG_OPTS( | ||
1187 | //usage: "\n -i,--interface IFACE Interface to use (default eth0)" | ||
1188 | //usage: IF_FEATURE_UDHCP_PORT( | ||
1189 | //usage: "\n -P,--client-port PORT Use PORT (default 68)" | ||
1190 | //usage: ) | ||
1191 | //usage: "\n -s,--script PROG Run PROG at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" | ||
1192 | //usage: "\n -p,--pidfile FILE Create pidfile" | ||
1193 | //usage: "\n -B,--broadcast Request broadcast replies" | ||
1194 | //usage: "\n -t,--retries N Send up to N discover packets (default 3)" | ||
1195 | //usage: "\n -T,--timeout SEC Pause between packets (default 3)" | ||
1196 | //usage: "\n -A,--tryagain SEC Wait if lease is not obtained (default 20)" | ||
1197 | //usage: "\n -n,--now Exit if lease is not obtained" | ||
1198 | //usage: "\n -q,--quit Exit after obtaining lease" | ||
1199 | //usage: "\n -R,--release Release IP on exit" | ||
1200 | //usage: "\n -f,--foreground Run in foreground" | ||
1201 | //usage: USE_FOR_MMU( | ||
1202 | //usage: "\n -b,--background Background if lease is not obtained" | ||
1203 | //usage: ) | ||
1204 | //usage: "\n -S,--syslog Log to syslog too" | ||
1205 | //usage: IF_FEATURE_UDHCPC_ARPING( | ||
1206 | //usage: "\n -a[MSEC],--arping[=MSEC] Validate offered address with ARP ping" | ||
1207 | //usage: ) | ||
1208 | //usage: "\n -r,--request IP Request this IP address" | ||
1209 | //usage: "\n -o,--no-default-options Don't request any options (unless -O is given)" | ||
1210 | //usage: "\n -O,--request-option OPT Request option OPT from server (cumulative)" | ||
1211 | //usage: "\n -x OPT:VAL Include option OPT in sent packets (cumulative)" | ||
1212 | //usage: "\n Examples of string, numeric, and hex byte opts:" | ||
1213 | //usage: "\n -x hostname:bbox - option 12" | ||
1214 | //usage: "\n -x lease:3600 - option 51 (lease time)" | ||
1215 | //usage: "\n -x 0x3d:0100BEEFC0FFEE - option 61 (client id)" | ||
1216 | //usage: "\n -F,--fqdn NAME Ask server to update DNS mapping for NAME" | ||
1217 | //usage: "\n -V,--vendorclass VENDOR Vendor identifier (default 'udhcp VERSION')" | ||
1218 | //usage: "\n -C,--clientid-none Don't send MAC as client identifier" | ||
1219 | //usage: IF_UDHCP_VERBOSE( | ||
1220 | //usage: "\n -v Verbose" | ||
1221 | //usage: ) | ||
1222 | //usage: ) | ||
1223 | //usage: IF_NOT_LONG_OPTS( | ||
1224 | //usage: "\n -i IFACE Interface to use (default eth0)" | 1186 | //usage: "\n -i IFACE Interface to use (default eth0)" |
1225 | //usage: IF_FEATURE_UDHCP_PORT( | 1187 | //usage: IF_FEATURE_UDHCP_PORT( |
1226 | //usage: "\n -P PORT Use PORT (default 68)" | 1188 | //usage: "\n -P PORT Use PORT (default 68)" |
@@ -1256,7 +1218,6 @@ static void client_background(void) | |||
1256 | //usage: IF_UDHCP_VERBOSE( | 1218 | //usage: IF_UDHCP_VERBOSE( |
1257 | //usage: "\n -v Verbose" | 1219 | //usage: "\n -v Verbose" |
1258 | //usage: ) | 1220 | //usage: ) |
1259 | //usage: ) | ||
1260 | //usage: "\nSignals:" | 1221 | //usage: "\nSignals:" |
1261 | //usage: "\n USR1 Renew lease" | 1222 | //usage: "\n USR1 Renew lease" |
1262 | //usage: "\n USR2 Release lease" | 1223 | //usage: "\n USR2 Release lease" |