diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2013-08-08 12:33:18 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2013-08-08 12:33:18 +0200 |
commit | 456687fff1e61768a1e106ba6293a75f3f7e9bcf (patch) | |
tree | 51e808780238c4feabb30fbe5b8bb35707f20095 /networking/udhcp/dhcpc.c | |
parent | 8c7fcbd7521c1bafcf6e792af8b140c256e2cbfd (diff) | |
download | busybox-w32-456687fff1e61768a1e106ba6293a75f3f7e9bcf.tar.gz busybox-w32-456687fff1e61768a1e106ba6293a75f3f7e9bcf.tar.bz2 busybox-w32-456687fff1e61768a1e106ba6293a75f3f7e9bcf.zip |
udhcpc: tweak help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/udhcp/dhcpc.c')
-rw-r--r-- | networking/udhcp/dhcpc.c | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c index f5d32b795..ca31e1cb8 100644 --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c | |||
@@ -1135,8 +1135,9 @@ static void client_background(void) | |||
1135 | //usage:# define IF_UDHCP_VERBOSE(...) | 1135 | //usage:# define IF_UDHCP_VERBOSE(...) |
1136 | //usage:#endif | 1136 | //usage:#endif |
1137 | //usage:#define udhcpc_trivial_usage | 1137 | //usage:#define udhcpc_trivial_usage |
1138 | //usage: "[-fbnq"IF_UDHCP_VERBOSE("v")"oCRB] [-i IFACE] [-r IP] [-s PROG] [-p PIDFILE]\n" | 1138 | //usage: "[-fbq"IF_UDHCP_VERBOSE("v")IF_FEATURE_UDHCPC_ARPING("a")"oCRB] [-t N] [-T SEC] [-A SEC/-n]\n" |
1139 | //usage: " [-V VENDOR] [-x OPT:VAL]... [-O OPT]..." IF_FEATURE_UDHCP_PORT(" [-P N]") | 1139 | //usage: " [-i IFACE]"IF_FEATURE_UDHCP_PORT(" [-P PORT]")" [-r IP] [-s PROG] [-p PIDFILE]\n" |
1140 | //usage: " [-V VENDOR] [-x OPT:VAL]... [-O OPT]..." | ||
1140 | //usage:#define udhcpc_full_usage "\n" | 1141 | //usage:#define udhcpc_full_usage "\n" |
1141 | //usage: IF_LONG_OPTS( | 1142 | //usage: IF_LONG_OPTS( |
1142 | //usage: "\n -i,--interface IFACE Interface to use (default eth0)" | 1143 | //usage: "\n -i,--interface IFACE Interface to use (default eth0)" |
@@ -1144,18 +1145,18 @@ static void client_background(void) | |||
1144 | //usage: "\n -s,--script PROG Run PROG at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" | 1145 | //usage: "\n -s,--script PROG Run PROG at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" |
1145 | //usage: "\n -B,--broadcast Request broadcast replies" | 1146 | //usage: "\n -B,--broadcast Request broadcast replies" |
1146 | //usage: "\n -t,--retries N Send up to N discover packets (default 3)" | 1147 | //usage: "\n -t,--retries N Send up to N discover packets (default 3)" |
1147 | //usage: "\n -T,--timeout N Pause between packets, sec (default 3)" | 1148 | //usage: "\n -T,--timeout SEC Pause between packets (default 3)" |
1148 | //usage: "\n -A,--tryagain N Wait N seconds after failure (default 20)" | 1149 | //usage: "\n -A,--tryagain SEC Wait after failure (default 20)" |
1150 | //usage: "\n -n,--now Exit if lease is not obtained" | ||
1151 | //usage: "\n -q,--quit Exit after obtaining lease" | ||
1152 | //usage: "\n -R,--release Release IP on exit" | ||
1149 | //usage: "\n -f,--foreground Run in foreground" | 1153 | //usage: "\n -f,--foreground Run in foreground" |
1150 | //usage: USE_FOR_MMU( | 1154 | //usage: USE_FOR_MMU( |
1151 | //usage: "\n -b,--background Background if lease is not obtained" | 1155 | //usage: "\n -b,--background Background if lease is not obtained" |
1152 | //usage: ) | 1156 | //usage: ) |
1153 | //usage: "\n -n,--now Exit if lease is not obtained" | ||
1154 | //usage: "\n -q,--quit Exit after obtaining lease" | ||
1155 | //usage: "\n -R,--release Release IP on exit" | ||
1156 | //usage: "\n -S,--syslog Log to syslog too" | 1157 | //usage: "\n -S,--syslog Log to syslog too" |
1157 | //usage: IF_FEATURE_UDHCP_PORT( | 1158 | //usage: IF_FEATURE_UDHCP_PORT( |
1158 | //usage: "\n -P,--client-port N Use port N (default 68)" | 1159 | //usage: "\n -P,--client-port PORT Use PORT (default 68)" |
1159 | //usage: ) | 1160 | //usage: ) |
1160 | //usage: IF_FEATURE_UDHCPC_ARPING( | 1161 | //usage: IF_FEATURE_UDHCPC_ARPING( |
1161 | //usage: "\n -a,--arping Use arping to validate offered address" | 1162 | //usage: "\n -a,--arping Use arping to validate offered address" |
@@ -1181,18 +1182,18 @@ static void client_background(void) | |||
1181 | //usage: "\n -s PROG Run PROG at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" | 1182 | //usage: "\n -s PROG Run PROG at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" |
1182 | //usage: "\n -B Request broadcast replies" | 1183 | //usage: "\n -B Request broadcast replies" |
1183 | //usage: "\n -t N Send up to N discover packets (default 3)" | 1184 | //usage: "\n -t N Send up to N discover packets (default 3)" |
1184 | //usage: "\n -T N Pause between packets, sec (default 3)" | 1185 | //usage: "\n -T SEC Pause between packets (default 3)" |
1185 | //usage: "\n -A N Wait N seconds (default 20) after failure" | 1186 | //usage: "\n -A SEC Wait after failure (default 20)" |
1187 | //usage: "\n -n Exit if lease is not obtained" | ||
1188 | //usage: "\n -q Exit after obtaining lease" | ||
1189 | //usage: "\n -R Release IP on exit" | ||
1186 | //usage: "\n -f Run in foreground" | 1190 | //usage: "\n -f Run in foreground" |
1187 | //usage: USE_FOR_MMU( | 1191 | //usage: USE_FOR_MMU( |
1188 | //usage: "\n -b Background if lease is not obtained" | 1192 | //usage: "\n -b Background if lease is not obtained" |
1189 | //usage: ) | 1193 | //usage: ) |
1190 | //usage: "\n -n Exit if lease is not obtained" | ||
1191 | //usage: "\n -q Exit after obtaining lease" | ||
1192 | //usage: "\n -R Release IP on exit" | ||
1193 | //usage: "\n -S Log to syslog too" | 1194 | //usage: "\n -S Log to syslog too" |
1194 | //usage: IF_FEATURE_UDHCP_PORT( | 1195 | //usage: IF_FEATURE_UDHCP_PORT( |
1195 | //usage: "\n -P N Use port N (default 68)" | 1196 | //usage: "\n -P PORT Use PORT (default 68)" |
1196 | //usage: ) | 1197 | //usage: ) |
1197 | //usage: IF_FEATURE_UDHCPC_ARPING( | 1198 | //usage: IF_FEATURE_UDHCPC_ARPING( |
1198 | //usage: "\n -a Use arping to validate offered address" | 1199 | //usage: "\n -a Use arping to validate offered address" |