add -4 and -6 IPV4 and IPV6 options to usage aswell - geomyidae - A small C-based gopherd. HTML git clone git://bitreich.org/geomyidae/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/geomyidae/ DIR Log DIR Files DIR Refs DIR Tags DIR README DIR LICENSE --- DIR commit 387ac8be93c952305d9ef77e95ca21852cd47f4a DIR parent 2418b3799cc6a7f5122fe6a73d386c635a7591ae HTML Author: Hiltjo Posthuma <hiltjo@codemadness.org> 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 <20h@r-36.net> Diffstat: M main.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) --- DIR diff --git a/main.c b/main.c @@ -299,11 +299,10 @@ getlistenfd(struct addrinfo *hints, char *bindip, char *port) 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); }