]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Update usage() to match documented flags
authorSevan Janiyan <venture37@geeklan.co.uk>
Mon, 27 Aug 2018 13:37:18 +0000 (14:37 +0100)
committerSevan Janiyan <venture37@geeklan.co.uk>
Mon, 27 Aug 2018 13:37:18 +0000 (14:37 +0100)
src/dhcpcd.c

index c572c1370f4b83ae49de5f5107ca799c5e714ea3..2985ed359248474eb39701a9bbe31f946ecbdd3f 100644 (file)
@@ -86,19 +86,22 @@ static void
 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"