diff options
| author | Sevan Janiyan <venture37@geeklan.co.uk> | 2018-08-27 14:37:18 +0100 |
|---|---|---|
| committer | Sevan Janiyan <venture37@geeklan.co.uk> | 2018-08-27 14:37:18 +0100 |
| commit | 27ea00119c85f4fe2d3f1c8b1dd8947fe07814d7 (patch) | |
| tree | 775d2812bb4aeb642201181b4e0cd1adda517661 /src/dhcpcd.c | |
| parent | 51e2aeda11f92e2a09a86ee60ad0d3367da62fb1 (diff) | |
| download | dhcpcd-27ea00119c85f4fe2d3f1c8b1dd8947fe07814d7.tar.xz | |
Update usage() to match documented flags
Diffstat (limited to 'src/dhcpcd.c')
| -rw-r--r-- | src/dhcpcd.c | 21 |
1 files changed, 12 insertions, 9 deletions
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" |
