summaryrefslogtreecommitdiff
path: root/include/usage.h
diff options
context:
space:
mode:
authorPaul Fox2007-11-07 16:01:28 +0000
committerPaul Fox2007-11-07 16:01:28 +0000
commit49cce2b8384d2b425a91785ebf155a692df6986c (patch)
tree5f7a51e103e8dc1ca4eeec9755189719214cac00 /include/usage.h
parent6e1b62b18ccc928cfa5ff62eb7030b3e5543c15d (diff)
downloadbusybox-49cce2b8384d2b425a91785ebf155a692df6986c.zip
busybox-49cce2b8384d2b425a91785ebf155a692df6986c.tar.gz
add "-A N" / "--tryagain=N" option to client, to allow altering the
default 60 second wait after failure to get a lease.
Diffstat (limited to 'include/usage.h')
-rw-r--r--include/usage.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/usage.h b/include/usage.h
index 5307d98..e609cbc 100644
--- a/include/usage.h
+++ b/include/usage.h
@@ -3835,6 +3835,8 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
"\n -r,--request=IP IP address to request" \
"\n -s,--script=file Run file at dhcp events (default: /usr/share/udhcpc/default.script)" \
"\n -t,--retries=N Send up to N request packets"\
+ "\n -T,--timeout=N Try to get a lease for N seconds (default: 3)"\
+ "\n -A,--tryagain=N Wait N seconds (default: 60) after failure"\
"\n -f,--foreground Run in foreground" \
"\n -b,--background Background if lease cannot be immediately negotiated" \
"\n -S,--syslog Log to syslog too" \
@@ -3853,6 +3855,8 @@ USE_FEATURE_RUN_PARTS_FANCY("\n -l Prints names of all matching files even when
"\n -r IP IP address to request" \
"\n -s file Run file at dhcp events (default: /usr/share/udhcpc/default.script)" \
"\n -t N Send up to N request packets"\
+ "\n -T N Try to get a lease for N seconds (default: 3)"\
+ "\n -A N Wait N seconds (default: 60) after failure"\
"\n -f Run in foreground" \
"\n -b Background if lease cannot be immediately negotiated" \
"\n -S Log to syslog too" \