Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/bsd/dhcpcd/dist/src Update usage() to include docum...



details:   https://anonhg.NetBSD.org/src/rev/0532f1f40cf5
branches:  trunk
changeset: 835263:0532f1f40cf5
user:      sevan <sevan%NetBSD.org@localhost>
date:      Mon Aug 27 13:43:05 2018 +0000

description:
Update usage() to include documented flags

diffstat:

 external/bsd/dhcpcd/dist/src/dhcpcd.c |  21 ++++++++++++---------
 1 files changed, 12 insertions(+), 9 deletions(-)

diffs (35 lines):

diff -r 3865474c7ed4 -r 0532f1f40cf5 external/bsd/dhcpcd/dist/src/dhcpcd.c
--- a/external/bsd/dhcpcd/dist/src/dhcpcd.c     Mon Aug 27 13:43:01 2018 +0000
+++ b/external/bsd/dhcpcd/dist/src/dhcpcd.c     Mon Aug 27 13:43:05 2018 +0000
@@ -86,19 +86,22 @@
 usage(void)
 {
 
-printf("usage: "PACKAGE"\t[-46ABbDdEGgHJKkLnPpqTVw]\n"
+printf("usage: "PACKAGE"\t[-146ABbDdEGgHJKLMNPpqTV]\n"
        "\t\t[-C, --nohook hook] [-c, --script script]\n"
        "\t\t[-e, --env value] [-F, --fqdn FQDN] [-f, --config file]\n"
        "\t\t[-h, --hostname hostname] [-I, --clientid clientid]\n"
-       "\t\t[-i, --vendorclassid vendorclassid] [-l, --leasetime seconds]\n"
-       "\t\t[-m, --metric metric] [-O, --nooption option]\n"
-       "\t\t[-o, --option option] [-Q, --require option]\n"
-       "\t\t[-r, --request address] [-S, --static value]\n"
-       "\t\t[-s, --inform address[/cidr]] [-t, --timeout seconds]\n"
-       "\t\t[-u, --userclass class] [-v, --vendor code, value]\n"
-       "\t\t[-W, --whitelist address[/cidr]] [-y, --reboot seconds]\n"
+       "\t\t[-i, --vendorclassid vendorclassid] [-j, --logfile logfile]\n" 
+       "\t\t[-l, --leasetime seconds] [-m, --metric metric]\n"
+       "\t\t[-O, --nooption option] [-o, --option option]\n"
+       "\t\t[-Q, --require option] [-r, --request address]\n"
+       "\t\t[-S, --static value]\n"
+       "\t\t[-s, --inform address[/cidr[/broadcast_address]]]\n [--inform6]"
+       "\t\t[-t, --timeout seconds] [-u, --userclass class]\n"
+       "\t\t[-v, --vendor code, value] [-W, --whitelist address[/cidr]] [-w]\n"
+       "\t\t[--waitip [4 | 6]] [-y, --reboot seconds]\n"
        "\t\t[-X, --blacklist address[/cidr]] [-Z, --denyinterfaces pattern]\n"
-       "\t\t[-z, --allowinterfaces pattern] [interface] [...]\n"
+       "\t\t[-z, --allowinterfaces pattern] [--inactive] [interface] [...]\n"
+       "       "PACKAGE"\t-n, --rebind [interface]\n"
        "       "PACKAGE"\t-k, --release [interface]\n"
        "       "PACKAGE"\t-U, --dumplease interface\n"
        "       "PACKAGE"\t--version\n"



Home | Main Index | Thread Index | Old Index