aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2013-08-08 12:45:45 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2013-08-08 12:45:45 +0200
commit9ae6d793074603a01a0688c58a0dd59e7df02dca (patch)
treef7a952be273c9fafbd9e5bac03fbcca24e479368
parent456687fff1e61768a1e106ba6293a75f3f7e9bcf (diff)
downloadbusybox-w32-9ae6d793074603a01a0688c58a0dd59e7df02dca.tar.gz
busybox-w32-9ae6d793074603a01a0688c58a0dd59e7df02dca.tar.bz2
busybox-w32-9ae6d793074603a01a0688c58a0dd59e7df02dca.zip
udhcpc: tweak help text more
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/udhcp/dhcpc.c34
1 files changed, 17 insertions, 17 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c
index ca31e1cb8..53d8a5e08 100644
--- a/networking/udhcp/dhcpc.c
+++ b/networking/udhcp/dhcpc.c
@@ -1135,18 +1135,21 @@ 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: "[-fbq"IF_UDHCP_VERBOSE("v")IF_FEATURE_UDHCPC_ARPING("a")"oCRB] [-t N] [-T SEC] [-A SEC/-n]\n" 1138//usage: "[-fbq"IF_UDHCP_VERBOSE("v")IF_FEATURE_UDHCPC_ARPING("a")"RB] [-t N] [-T SEC] [-A SEC/-n]\n"
1139//usage: " [-i IFACE]"IF_FEATURE_UDHCP_PORT(" [-P PORT]")" [-r IP] [-s PROG] [-p PIDFILE]\n" 1139//usage: " [-i IFACE]"IF_FEATURE_UDHCP_PORT(" [-P PORT]")" [-s PROG] [-p PIDFILE]\n"
1140//usage: " [-V VENDOR] [-x OPT:VAL]... [-O OPT]..." 1140//usage: " [-oC] [-r IP] [-V VENDOR] [-F NAME] [-x OPT:VAL]... [-O OPT]..."
1141//usage:#define udhcpc_full_usage "\n" 1141//usage:#define udhcpc_full_usage "\n"
1142//usage: IF_LONG_OPTS( 1142//usage: IF_LONG_OPTS(
1143//usage: "\n -i,--interface IFACE Interface to use (default eth0)" 1143//usage: "\n -i,--interface IFACE Interface to use (default eth0)"
1144//usage: "\n -p,--pidfile FILE Create pidfile" 1144//usage: IF_FEATURE_UDHCP_PORT(
1145//usage: "\n -P,--client-port PORT Use PORT (default 68)"
1146//usage: )
1145//usage: "\n -s,--script PROG Run PROG at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" 1147//usage: "\n -s,--script PROG Run PROG at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")"
1148//usage: "\n -p,--pidfile FILE Create pidfile"
1146//usage: "\n -B,--broadcast Request broadcast replies" 1149//usage: "\n -B,--broadcast Request broadcast replies"
1147//usage: "\n -t,--retries N Send up to N discover packets (default 3)" 1150//usage: "\n -t,--retries N Send up to N discover packets (default 3)"
1148//usage: "\n -T,--timeout SEC Pause between packets (default 3)" 1151//usage: "\n -T,--timeout SEC Pause between packets (default 3)"
1149//usage: "\n -A,--tryagain SEC Wait after failure (default 20)" 1152//usage: "\n -A,--tryagain SEC Wait if lease is not obtained (default 20)"
1150//usage: "\n -n,--now Exit if lease is not obtained" 1153//usage: "\n -n,--now Exit if lease is not obtained"
1151//usage: "\n -q,--quit Exit after obtaining lease" 1154//usage: "\n -q,--quit Exit after obtaining lease"
1152//usage: "\n -R,--release Release IP on exit" 1155//usage: "\n -R,--release Release IP on exit"
@@ -1155,15 +1158,12 @@ static void client_background(void)
1155//usage: "\n -b,--background Background if lease is not obtained" 1158//usage: "\n -b,--background Background if lease is not obtained"
1156//usage: ) 1159//usage: )
1157//usage: "\n -S,--syslog Log to syslog too" 1160//usage: "\n -S,--syslog Log to syslog too"
1158//usage: IF_FEATURE_UDHCP_PORT(
1159//usage: "\n -P,--client-port PORT Use PORT (default 68)"
1160//usage: )
1161//usage: IF_FEATURE_UDHCPC_ARPING( 1161//usage: IF_FEATURE_UDHCPC_ARPING(
1162//usage: "\n -a,--arping Use arping to validate offered address" 1162//usage: "\n -a,--arping Use arping to validate offered address"
1163//usage: ) 1163//usage: )
1164//usage: "\n -O,--request-option OPT Request option OPT from server (cumulative)"
1165//usage: "\n -o,--no-default-options Don't request any options (unless -O is given)"
1166//usage: "\n -r,--request IP Request this IP address" 1164//usage: "\n -r,--request IP Request this IP address"
1165//usage: "\n -o,--no-default-options Don't request any options (unless -O is given)"
1166//usage: "\n -O,--request-option OPT Request option OPT from server (cumulative)"
1167//usage: "\n -x OPT:VAL Include option OPT in sent packets (cumulative)" 1167//usage: "\n -x OPT:VAL Include option OPT in sent packets (cumulative)"
1168//usage: "\n Examples of string, numeric, and hex byte opts:" 1168//usage: "\n Examples of string, numeric, and hex byte opts:"
1169//usage: "\n -x hostname:bbox - option 12" 1169//usage: "\n -x hostname:bbox - option 12"
@@ -1178,12 +1178,15 @@ static void client_background(void)
1178//usage: ) 1178//usage: )
1179//usage: IF_NOT_LONG_OPTS( 1179//usage: IF_NOT_LONG_OPTS(
1180//usage: "\n -i IFACE Interface to use (default eth0)" 1180//usage: "\n -i IFACE Interface to use (default eth0)"
1181//usage: "\n -p FILE Create pidfile" 1181//usage: IF_FEATURE_UDHCP_PORT(
1182//usage: "\n -P PORT Use PORT (default 68)"
1183//usage: )
1182//usage: "\n -s PROG Run PROG at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" 1184//usage: "\n -s PROG Run PROG at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")"
1185//usage: "\n -p FILE Create pidfile"
1183//usage: "\n -B Request broadcast replies" 1186//usage: "\n -B Request broadcast replies"
1184//usage: "\n -t N Send up to N discover packets (default 3)" 1187//usage: "\n -t N Send up to N discover packets (default 3)"
1185//usage: "\n -T SEC Pause between packets (default 3)" 1188//usage: "\n -T SEC Pause between packets (default 3)"
1186//usage: "\n -A SEC Wait after failure (default 20)" 1189//usage: "\n -A SEC Wait if lease is not obtained (default 20)"
1187//usage: "\n -n Exit if lease is not obtained" 1190//usage: "\n -n Exit if lease is not obtained"
1188//usage: "\n -q Exit after obtaining lease" 1191//usage: "\n -q Exit after obtaining lease"
1189//usage: "\n -R Release IP on exit" 1192//usage: "\n -R Release IP on exit"
@@ -1192,15 +1195,12 @@ static void client_background(void)
1192//usage: "\n -b Background if lease is not obtained" 1195//usage: "\n -b Background if lease is not obtained"
1193//usage: ) 1196//usage: )
1194//usage: "\n -S Log to syslog too" 1197//usage: "\n -S Log to syslog too"
1195//usage: IF_FEATURE_UDHCP_PORT(
1196//usage: "\n -P PORT Use PORT (default 68)"
1197//usage: )
1198//usage: IF_FEATURE_UDHCPC_ARPING( 1198//usage: IF_FEATURE_UDHCPC_ARPING(
1199//usage: "\n -a Use arping to validate offered address" 1199//usage: "\n -a Use arping to validate offered address"
1200//usage: ) 1200//usage: )
1201//usage: "\n -O OPT Request option OPT from server (cumulative)"
1202//usage: "\n -o Don't request any options (unless -O is given)"
1203//usage: "\n -r IP Request this IP address" 1201//usage: "\n -r IP Request this IP address"
1202//usage: "\n -o Don't request any options (unless -O is given)"
1203//usage: "\n -O OPT Request option OPT from server (cumulative)"
1204//usage: "\n -x OPT:VAL Include option OPT in sent packets (cumulative)" 1204//usage: "\n -x OPT:VAL Include option OPT in sent packets (cumulative)"
1205//usage: "\n Examples of string, numeric, and hex byte opts:" 1205//usage: "\n Examples of string, numeric, and hex byte opts:"
1206//usage: "\n -x hostname:bbox - option 12" 1206//usage: "\n -x hostname:bbox - option 12"