diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/include/usage.h b/include/usage.h index 3be317bff..529a228ec 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -4116,7 +4116,7 @@ | |||
4116 | "Adjust filesystem options on ext[23] filesystems" | 4116 | "Adjust filesystem options on ext[23] filesystems" |
4117 | 4117 | ||
4118 | #define udhcpc_trivial_usage \ | 4118 | #define udhcpc_trivial_usage \ |
4119 | "[-Cfbnqtv] [-c CID] [-V VCLS] [-H HOSTNAME] [-i INTERFACE]\n" \ | 4119 | "[-Cfbnqtvo] [-c CID] [-V VCLS] [-H HOSTNAME] [-i INTERFACE]\n" \ |
4120 | " [-p pidfile] [-r IP] [-s script] [-O dhcp-option]..." USE_FEATURE_UDHCP_PORT(" [-P N]") | 4120 | " [-p pidfile] [-r IP] [-s script] [-O dhcp-option]..." USE_FEATURE_UDHCP_PORT(" [-P N]") |
4121 | #define udhcpc_full_usage \ | 4121 | #define udhcpc_full_usage \ |
4122 | USE_GETOPT_LONG( \ | 4122 | USE_GETOPT_LONG( \ |
@@ -4127,17 +4127,18 @@ | |||
4127 | "\n -C,--clientid-none Suppress default client identifier" \ | 4127 | "\n -C,--clientid-none Suppress default client identifier" \ |
4128 | "\n -p,--pidfile=file Create pidfile" \ | 4128 | "\n -p,--pidfile=file Create pidfile" \ |
4129 | "\n -r,--request=IP IP address to request" \ | 4129 | "\n -r,--request=IP IP address to request" \ |
4130 | "\n -s,--script=file Run file at dhcp events (default /usr/share/udhcpc/default.script)" \ | 4130 | "\n -s,--script=file Run file at DHCP events (default "CONFIG_DHCPC_DEFAULT_SCRIPT")" \ |
4131 | "\n -t,--retries=N Send up to N request packets" \ | 4131 | "\n -t,--retries=N Send up to N request packets" \ |
4132 | "\n -T,--timeout=N Try to get a lease for N seconds (default 3)" \ | 4132 | "\n -T,--timeout=N Try to get a lease for N seconds (default 3)" \ |
4133 | "\n -A,--tryagain=N Wait N seconds (default 20) after failure" \ | 4133 | "\n -A,--tryagain=N Wait N seconds (default 20) after failure" \ |
4134 | "\n -O,--request-option=OPT Request DHCP option OPT (cumulative)" \ | ||
4135 | "\n -o,--no-default-options Do not request any options (unless -O is also given)" \ | ||
4134 | "\n -f,--foreground Run in foreground" \ | 4136 | "\n -f,--foreground Run in foreground" \ |
4135 | "\n -b,--background Background if lease is not immediately obtained" \ | 4137 | "\n -b,--background Background if lease is not immediately obtained" \ |
4136 | "\n -S,--syslog Log to syslog too" \ | 4138 | "\n -S,--syslog Log to syslog too" \ |
4137 | "\n -n,--now Exit with failure if lease is not immediately obtained" \ | 4139 | "\n -n,--now Exit with failure if lease is not immediately obtained" \ |
4138 | "\n -q,--quit Quit after obtaining lease" \ | 4140 | "\n -q,--quit Quit after obtaining lease" \ |
4139 | "\n -R,--release Release IP on quit" \ | 4141 | "\n -R,--release Release IP on quit" \ |
4140 | "\n -O,--request-option=OPT Request DHCP option OPT from server" \ | ||
4141 | USE_FEATURE_UDHCP_PORT( \ | 4142 | USE_FEATURE_UDHCP_PORT( \ |
4142 | "\n -P,--client-port N Use port N instead of default 68" \ | 4143 | "\n -P,--client-port N Use port N instead of default 68" \ |
4143 | ) \ | 4144 | ) \ |
@@ -4153,17 +4154,18 @@ | |||
4153 | "\n -C Suppress default client identifier" \ | 4154 | "\n -C Suppress default client identifier" \ |
4154 | "\n -p file Create pidfile" \ | 4155 | "\n -p file Create pidfile" \ |
4155 | "\n -r IP IP address to request" \ | 4156 | "\n -r IP IP address to request" \ |
4156 | "\n -s file Run file at dhcp events (default /usr/share/udhcpc/default.script)" \ | 4157 | "\n -s file Run file at DHCP events (default "CONFIG_DHCPC_DEFAULT_SCRIPT")" \ |
4157 | "\n -t N Send up to N request packets" \ | 4158 | "\n -t N Send up to N request packets" \ |
4158 | "\n -T N Try to get a lease for N seconds (default 3)" \ | 4159 | "\n -T N Try to get a lease for N seconds (default 3)" \ |
4159 | "\n -A N Wait N seconds (default 20) after failure" \ | 4160 | "\n -A N Wait N seconds (default 20) after failure" \ |
4161 | "\n -O OPT Request DHCP option OPT (cumulative)" \ | ||
4162 | "\n -o Do not request any options (unless -O is also given)" \ | ||
4160 | "\n -f Run in foreground" \ | 4163 | "\n -f Run in foreground" \ |
4161 | "\n -b Background if lease is not immediately obtained" \ | 4164 | "\n -b Background if lease is not immediately obtained" \ |
4162 | "\n -S Log to syslog too" \ | 4165 | "\n -S Log to syslog too" \ |
4163 | "\n -n Exit with failure if lease is not immediately obtained" \ | 4166 | "\n -n Exit with failure if lease is not immediately obtained" \ |
4164 | "\n -q Quit after obtaining lease" \ | 4167 | "\n -q Quit after obtaining lease" \ |
4165 | "\n -R Release IP on quit" \ | 4168 | "\n -R Release IP on quit" \ |
4166 | "\n -O OPT Request DHCP option OPT from server" \ | ||
4167 | USE_FEATURE_UDHCP_PORT( \ | 4169 | USE_FEATURE_UDHCP_PORT( \ |
4168 | "\n -P N Use port N instead of default 68" \ | 4170 | "\n -P N Use port N instead of default 68" \ |
4169 | ) \ | 4171 | ) \ |