diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2018-01-16 22:10:12 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2018-01-16 22:10:12 +0100 |
commit | 438c72ece4b4241f1318994b9770877f2ab863a2 (patch) | |
tree | 74c3b66aad90c62099b602ca8d8fd0d349201f58 | |
parent | 6e9e6d8fbe70d7b432dd3cca30d9974dee422890 (diff) | |
download | busybox-w32-438c72ece4b4241f1318994b9770877f2ab863a2.tar.gz busybox-w32-438c72ece4b4241f1318994b9770877f2ab863a2.tar.bz2 busybox-w32-438c72ece4b4241f1318994b9770877f2ab863a2.zip |
udhcpc6: show only short opts in --help text
function old new delta
packed_usage 26028 25966 -62
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | networking/udhcp/d6_dhcpc.c | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/networking/udhcp/d6_dhcpc.c b/networking/udhcp/d6_dhcpc.c index f6a01333c..d0d8e5c55 100644 --- a/networking/udhcp/d6_dhcpc.c +++ b/networking/udhcp/d6_dhcpc.c | |||
@@ -1033,42 +1033,6 @@ static void client_background(void) | |||
1033 | //usage: "[-fbnq"IF_UDHCP_VERBOSE("v")"oR] [-i IFACE] [-r IP] [-s PROG] [-p PIDFILE]\n" | 1033 | //usage: "[-fbnq"IF_UDHCP_VERBOSE("v")"oR] [-i IFACE] [-r IP] [-s PROG] [-p PIDFILE]\n" |
1034 | //usage: " [-x OPT:VAL]... [-O OPT]..." IF_FEATURE_UDHCP_PORT(" [-P N]") | 1034 | //usage: " [-x OPT:VAL]... [-O OPT]..." IF_FEATURE_UDHCP_PORT(" [-P N]") |
1035 | //usage:#define udhcpc6_full_usage "\n" | 1035 | //usage:#define udhcpc6_full_usage "\n" |
1036 | //usage: IF_LONG_OPTS( | ||
1037 | //usage: "\n -i,--interface IFACE Interface to use (default eth0)" | ||
1038 | //usage: "\n -p,--pidfile FILE Create pidfile" | ||
1039 | //usage: "\n -s,--script PROG Run PROG at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" | ||
1040 | //usage: "\n -B,--broadcast Request broadcast replies" | ||
1041 | //usage: "\n -t,--retries N Send up to N discover packets" | ||
1042 | //usage: "\n -T,--timeout N Pause between packets (default 3 seconds)" | ||
1043 | //usage: "\n -A,--tryagain N Wait N seconds after failure (default 20)" | ||
1044 | //usage: "\n -f,--foreground Run in foreground" | ||
1045 | //usage: USE_FOR_MMU( | ||
1046 | //usage: "\n -b,--background Background if lease is not obtained" | ||
1047 | //usage: ) | ||
1048 | //usage: "\n -n,--now Exit if lease is not obtained" | ||
1049 | //usage: "\n -q,--quit Exit after obtaining lease" | ||
1050 | //usage: "\n -R,--release Release IP on exit" | ||
1051 | //usage: "\n -S,--syslog Log to syslog too" | ||
1052 | //usage: IF_FEATURE_UDHCP_PORT( | ||
1053 | //usage: "\n -P,--client-port N Use port N (default 546)" | ||
1054 | //usage: ) | ||
1055 | ////usage: IF_FEATURE_UDHCPC_ARPING( | ||
1056 | ////usage: "\n -a,--arping Use arping to validate offered address" | ||
1057 | ////usage: ) | ||
1058 | //usage: "\n -O,--request-option OPT Request option OPT from server (cumulative)" | ||
1059 | //usage: "\n -o,--no-default-options Don't request any options (unless -O is given)" | ||
1060 | //usage: "\n -r,--request IP Request this IP address ('no' to not request any IP)" | ||
1061 | //usage: "\n -d,--requestprefix Request prefix" | ||
1062 | //usage: "\n -x OPT:VAL Include option OPT in sent packets (cumulative)" | ||
1063 | //usage: "\n Examples of string, numeric, and hex byte opts:" | ||
1064 | //usage: "\n -x hostname:bbox - option 12" | ||
1065 | //usage: "\n -x lease:3600 - option 51 (lease time)" | ||
1066 | //usage: "\n -x 0x3d:0100BEEFC0FFEE - option 61 (client id)" | ||
1067 | //usage: IF_UDHCP_VERBOSE( | ||
1068 | //usage: "\n -v Verbose" | ||
1069 | //usage: ) | ||
1070 | //usage: ) | ||
1071 | //usage: IF_NOT_LONG_OPTS( | ||
1072 | //usage: "\n -i IFACE Interface to use (default eth0)" | 1036 | //usage: "\n -i IFACE Interface to use (default eth0)" |
1073 | //usage: "\n -p FILE Create pidfile" | 1037 | //usage: "\n -p FILE Create pidfile" |
1074 | //usage: "\n -s PROG Run PROG at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" | 1038 | //usage: "\n -s PROG Run PROG at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" |
@@ -1102,7 +1066,6 @@ static void client_background(void) | |||
1102 | //usage: IF_UDHCP_VERBOSE( | 1066 | //usage: IF_UDHCP_VERBOSE( |
1103 | //usage: "\n -v Verbose" | 1067 | //usage: "\n -v Verbose" |
1104 | //usage: ) | 1068 | //usage: ) |
1105 | //usage: ) | ||
1106 | //usage: "\nSignals:" | 1069 | //usage: "\nSignals:" |
1107 | //usage: "\n USR1 Renew lease" | 1070 | //usage: "\n USR1 Renew lease" |
1108 | //usage: "\n USR2 Release lease" | 1071 | //usage: "\n USR2 Release lease" |