diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/usage.h | 80 |
1 files changed, 41 insertions, 39 deletions
diff --git a/include/usage.h b/include/usage.h index 093efc8c4..a7855cdf4 100644 --- a/include/usage.h +++ b/include/usage.h | |||
@@ -4810,66 +4810,68 @@ | |||
4810 | "Adjust filesystem options on ext[23] filesystems" | 4810 | "Adjust filesystem options on ext[23] filesystems" |
4811 | 4811 | ||
4812 | #define udhcpc_trivial_usage \ | 4812 | #define udhcpc_trivial_usage \ |
4813 | "[-Cfbnqtvo] [-c CID] [-V VCLS] [-H HOSTNAME] [-i INTERFACE]\n" \ | 4813 | "[-fbnqvoCR] [-i IFACE] [-r IP] [-s PROG] [-p PIDFILE]\n" \ |
4814 | " [-p pidfile] [-r IP] [-s script] [-O dhcp-option]..." IF_FEATURE_UDHCP_PORT(" [-P N]") | 4814 | " [-H HOSTNAME] [-c CID] [-V VENDOR] [-O DHCP_OPT]..." IF_FEATURE_UDHCP_PORT(" [-P N]") |
4815 | #define udhcpc_full_usage "\n\n" \ | 4815 | #define udhcpc_full_usage "\n" \ |
4816 | IF_LONG_OPTS( \ | 4816 | IF_LONG_OPTS( \ |
4817 | " -V,--vendorclass=CLASSID Vendor class identifier" \ | 4817 | "\n -i,--interface IFACE Interface to use (default eth0)" \ |
4818 | "\n -i,--interface=INTERFACE Interface to use (default eth0)" \ | 4818 | "\n -p,--pidfile FILE Create pidfile" \ |
4819 | "\n -H,-h,--hostname=HOSTNAME Client hostname" \ | 4819 | "\n -r,--request IP IP address to request" \ |
4820 | "\n -c,--clientid=CLIENTID Client identifier" \ | 4820 | "\n -s,--script PROG Run PROG at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" \ |
4821 | "\n -C,--clientid-none Suppress default client identifier" \ | 4821 | "\n -t,--retries N Send up to N discover packets" \ |
4822 | "\n -p,--pidfile=FILE Create pidfile" \ | 4822 | "\n -T,--timeout N Pause between packets (default 3 seconds)" \ |
4823 | "\n -r,--request=IP IP address to request" \ | 4823 | "\n -A,--tryagain N Wait N seconds (default 20) after failure" \ |
4824 | "\n -s,--script=FILE Run FILE at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" \ | 4824 | "\n -O,--request-option OPT Request DHCP option OPT (cumulative)" \ |
4825 | "\n -t,--retries=N Send up to N discover packets" \ | 4825 | "\n -o,--no-default-options Don't request any options (unless -O is given)" \ |
4826 | "\n -T,--timeout=N Pause between packets (default 3 seconds)" \ | 4826 | "\n -f,--foreground Run in foreground" \ |
4827 | "\n -A,--tryagain=N Wait N seconds (default 20) after failure" \ | ||
4828 | "\n -O,--request-option=OPT Request DHCP option OPT (cumulative)" \ | ||
4829 | "\n -o,--no-default-options Don't request any options (unless -O is also given)" \ | ||
4830 | "\n -f,--foreground Run in foreground" \ | ||
4831 | USE_FOR_MMU( \ | 4827 | USE_FOR_MMU( \ |
4832 | "\n -b,--background Background if lease is not immediately obtained" \ | 4828 | "\n -b,--background Background if lease is not obtained" \ |
4833 | ) \ | 4829 | ) \ |
4834 | "\n -S,--syslog Log to syslog too" \ | 4830 | "\n -S,--syslog Log to syslog too" \ |
4835 | "\n -n,--now Exit with failure if lease is not immediately obtained" \ | 4831 | "\n -n,--now Exit if lease is not obtained" \ |
4836 | "\n -q,--quit Quit after obtaining lease" \ | 4832 | "\n -q,--quit Exit after obtaining lease" \ |
4837 | "\n -R,--release Release IP on quit" \ | 4833 | "\n -R,--release Release IP on exit" \ |
4838 | IF_FEATURE_UDHCP_PORT( \ | 4834 | IF_FEATURE_UDHCP_PORT( \ |
4839 | "\n -P,--client-port N Use port N instead of default 68" \ | 4835 | "\n -P,--client-port N Use port N (default 68)" \ |
4840 | ) \ | 4836 | ) \ |
4841 | IF_FEATURE_UDHCPC_ARPING( \ | 4837 | IF_FEATURE_UDHCPC_ARPING( \ |
4842 | "\n -a,--arping Use arping to validate offered address" \ | 4838 | "\n -a,--arping Use arping to validate offered address" \ |
4843 | ) \ | 4839 | ) \ |
4840 | "\n -F,--fqdn NAME Ask server to update DNS mapping for NAME" \ | ||
4841 | "\n -H,-h,--hostname NAME Send NAME as client hostname (default none)" \ | ||
4842 | "\n -V,--vendorclass VENDOR Vendor identifier (default 'udhcp VERSION')" \ | ||
4843 | "\n -c,--clientid CLIENTID Client identifier (default own MAC)" \ | ||
4844 | "\n -C,--clientid-none Don't send client identifier" \ | ||
4844 | ) \ | 4845 | ) \ |
4845 | IF_NOT_LONG_OPTS( \ | 4846 | IF_NOT_LONG_OPTS( \ |
4846 | " -V CLASSID Vendor class identifier" \ | 4847 | "\n -i IFACE Interface to use (default eth0)" \ |
4847 | "\n -i INTERFACE Interface to use (default: eth0)" \ | ||
4848 | "\n -H,-h HOSTNAME Client hostname" \ | ||
4849 | "\n -c CLIENTID Client identifier" \ | ||
4850 | "\n -C Suppress default client identifier" \ | ||
4851 | "\n -p FILE Create pidfile" \ | 4848 | "\n -p FILE Create pidfile" \ |
4852 | "\n -r IP IP address to request" \ | 4849 | "\n -r IP IP address to request" \ |
4853 | "\n -s FILE Run FILE at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" \ | 4850 | "\n -s PROG Run PROG at DHCP events (default "CONFIG_UDHCPC_DEFAULT_SCRIPT")" \ |
4854 | "\n -t N Send up to N request packets" \ | 4851 | "\n -t N Send up to N discover packets" \ |
4855 | "\n -T N Try to get a lease for N seconds (default 3)" \ | 4852 | "\n -T N Pause between packets (default 3 seconds)" \ |
4856 | "\n -A N Wait N seconds (default 20) after failure" \ | 4853 | "\n -A N Wait N seconds (default 20) after failure" \ |
4857 | "\n -O OPT Request DHCP option OPT (cumulative)" \ | 4854 | "\n -O OPT Request DHCP option OPT (cumulative)" \ |
4858 | "\n -o Don't request any options (unless -O is also given)" \ | 4855 | "\n -o Don't request any options (unless -O is given)" \ |
4859 | "\n -f Run in foreground" \ | 4856 | "\n -f Run in foreground" \ |
4860 | USE_FOR_MMU( \ | 4857 | USE_FOR_MMU( \ |
4861 | "\n -b Background if lease is not immediately obtained" \ | 4858 | "\n -b Background if lease is not obtained" \ |
4862 | ) \ | 4859 | ) \ |
4863 | "\n -S Log to syslog too" \ | 4860 | "\n -S Log to syslog too" \ |
4864 | "\n -n Exit with failure if lease is not immediately obtained" \ | 4861 | "\n -n Exit if lease is not obtained" \ |
4865 | "\n -q Quit after obtaining lease" \ | 4862 | "\n -q Exit after obtaining lease" \ |
4866 | "\n -R Release IP on quit" \ | 4863 | "\n -R Release IP on exit" \ |
4867 | IF_FEATURE_UDHCP_PORT( \ | 4864 | IF_FEATURE_UDHCP_PORT( \ |
4868 | "\n -P N Use port N instead of default 68" \ | 4865 | "\n -P N Use port N (default 68)" \ |
4869 | ) \ | 4866 | ) \ |
4870 | IF_FEATURE_UDHCPC_ARPING( \ | 4867 | IF_FEATURE_UDHCPC_ARPING( \ |
4871 | "\n -a Use arping to validate offered address" \ | 4868 | "\n -a Use arping to validate offered address" \ |
4872 | ) \ | 4869 | ) \ |
4870 | "\n -F NAME Ask server to update DNS mapping for NAME" \ | ||
4871 | "\n -H,-h NAME Send NAME as client hostname (default none)" \ | ||
4872 | "\n -V VENDOR Vendor identifier (default 'udhcp VERSION')" \ | ||
4873 | "\n -c CLIENTID Client identifier (default own MAC)" \ | ||
4874 | "\n -C Don't send client identifier" \ | ||
4873 | ) | 4875 | ) |
4874 | 4876 | ||
4875 | #define udhcpd_trivial_usage \ | 4877 | #define udhcpd_trivial_usage \ |
@@ -4880,7 +4882,7 @@ | |||
4880 | "\n -f Run in foreground" \ | 4882 | "\n -f Run in foreground" \ |
4881 | "\n -S Log to syslog too" \ | 4883 | "\n -S Log to syslog too" \ |
4882 | IF_FEATURE_UDHCP_PORT( \ | 4884 | IF_FEATURE_UDHCP_PORT( \ |
4883 | "\n -P N Use port N instead of default 67" \ | 4885 | "\n -P N Use port N (default 67)" \ |
4884 | ) | 4886 | ) |
4885 | 4887 | ||
4886 | #define umount_trivial_usage \ | 4888 | #define umount_trivial_usage \ |