diff options
author | Denys Vlasenko | 2017-08-29 16:51:17 +0200 |
---|---|---|
committer | Denys Vlasenko | 2017-08-29 16:51:17 +0200 |
commit | 3256111efb6c059400218676cbf78d226d904917 (patch) | |
tree | 3c14abefd014955be43bf31b5ea6fc46495db9ce /networking/udhcp | |
parent | f27e150fa68c50bc39e229bd276d6ea2af109463 (diff) | |
download | busybox-3256111efb6c059400218676cbf78d226d904917.zip busybox-3256111efb6c059400218676cbf78d226d904917.tar.gz |
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>
Diffstat (limited to 'networking/udhcp')
-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 55e0400..99d91bf 100644 --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c @@ -1183,44 +1183,6 @@ static void client_background(void) //usage: " [-i IFACE]"IF_FEATURE_UDHCP_PORT(" [-P PORT]")" [-s PROG] [-p PIDFILE]\n" //usage: " [-oC] [-r IP] [-V VENDOR] [-F NAME] [-x OPT:VAL]... [-O OPT]..." //usage:#define udhcpc_full_usage "\n" -//usage: IF_LONG_OPTS( -//usage: "\n -i,--interface IFACE Interface to use (default eth0)" -//usage: IF_FEATURE_UDHCP_PORT( -//usage: "\n -P,--client-port PORT Use PORT (default 68)" -//usage: ) -//usage: "\n -s,--script PROG Run PROG at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" -//usage: "\n -p,--pidfile FILE Create pidfile" -//usage: "\n -B,--broadcast Request broadcast replies" -//usage: "\n -t,--retries N Send up to N discover packets (default 3)" -//usage: "\n -T,--timeout SEC Pause between packets (default 3)" -//usage: "\n -A,--tryagain SEC Wait if lease is not obtained (default 20)" -//usage: "\n -n,--now Exit if lease is not obtained" -//usage: "\n -q,--quit Exit after obtaining lease" -//usage: "\n -R,--release Release IP on exit" -//usage: "\n -f,--foreground Run in foreground" -//usage: USE_FOR_MMU( -//usage: "\n -b,--background Background if lease is not obtained" -//usage: ) -//usage: "\n -S,--syslog Log to syslog too" -//usage: IF_FEATURE_UDHCPC_ARPING( -//usage: "\n -a[MSEC],--arping[=MSEC] Validate offered address with ARP ping" -//usage: ) -//usage: "\n -r,--request IP Request this IP address" -//usage: "\n -o,--no-default-options Don't request any options (unless -O is given)" -//usage: "\n -O,--request-option OPT Request option OPT from server (cumulative)" -//usage: "\n -x OPT:VAL Include option OPT in sent packets (cumulative)" -//usage: "\n Examples of string, numeric, and hex byte opts:" -//usage: "\n -x hostname:bbox - option 12" -//usage: "\n -x lease:3600 - option 51 (lease time)" -//usage: "\n -x 0x3d:0100BEEFC0FFEE - option 61 (client id)" -//usage: "\n -F,--fqdn NAME Ask server to update DNS mapping for NAME" -//usage: "\n -V,--vendorclass VENDOR Vendor identifier (default 'udhcp VERSION')" -//usage: "\n -C,--clientid-none Don't send MAC as client identifier" -//usage: IF_UDHCP_VERBOSE( -//usage: "\n -v Verbose" -//usage: ) -//usage: ) -//usage: IF_NOT_LONG_OPTS( //usage: "\n -i IFACE Interface to use (default eth0)" //usage: IF_FEATURE_UDHCP_PORT( //usage: "\n -P PORT Use PORT (default 68)" @@ -1256,7 +1218,6 @@ static void client_background(void) //usage: IF_UDHCP_VERBOSE( //usage: "\n -v Verbose" //usage: ) -//usage: ) //usage: "\nSignals:" //usage: "\n USR1 Renew lease" //usage: "\n USR2 Release lease" |