From: Sevan Janiyan Date: Mon, 27 Aug 2018 13:37:18 +0000 (+0100) Subject: Update usage() to match documented flags X-Git-Tag: v7.1.0~32^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77766e4bc2d03c9949b39ff8fb5600a47998b4f1;p=thirdparty%2Fdhcpcd.git Update usage() to match documented flags --- diff --git a/src/dhcpcd.c b/src/dhcpcd.c index c572c137..2985ed35 100644 --- a/src/dhcpcd.c +++ b/src/dhcpcd.c @@ -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"