| add -4 and -6 IPV4 and IPV6 options to usage aswell - geomyidae - A small C-bas… | |
| git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfri… | |
| Log | |
| Files | |
| Refs | |
| Tags | |
| README | |
| LICENSE | |
| --- | |
| commit 387ac8be93c952305d9ef77e95ca21852cd47f4a | |
| parent 2418b3799cc6a7f5122fe6a73d386c635a7591ae | |
| Author: Hiltjo Posthuma <[email protected]> | |
| Date: Wed, 14 Jun 2017 18:20:51 +0200 | |
| add -4 and -6 IPV4 and IPV6 options to usage aswell | |
| Signed-off-by: Christoph Lohmann <[email protected]> | |
| Diffstat: | |
| M main.c | 7 +++---- | |
| 1 file changed, 3 insertions(+), 4 deletions(-) | |
| --- | |
| diff --git a/main.c b/main.c | |
| @@ -299,11 +299,10 @@ getlistenfd(struct addrinfo *hints, char *bindip, char *p… | |
| void | |
| usage(void) | |
| { | |
| - dprintf(2, "usage: %s [-d] [-l logfile] [-v loglvl] [-b base]" | |
| - " [-p port] [-o sport] [-u user] [-g group] [-h host]" | |
| - " [-i IP]\n", | |
| + dprintf(2, "usage: %s [-4] [-6] [-d] [-l logfile] [-v loglvl] " | |
| + "[-b base] [-p port] [-o sport] [-u user] [-g group] " | |
| + "[-h host] [-i IP]\n", | |
| argv0); | |
| - | |
| exit(1); | |
| } | |