geomyidae

A small C-based gopherd. (gopher://bitreich.org/1/scm/geomyidae)
git clone git://r-36.net/geomyidae
Log | Files | Refs | README | LICENSE

commit 387ac8be93c952305d9ef77e95ca21852cd47f4a
parent 2418b3799cc6a7f5122fe6a73d386c635a7591ae
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:
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 *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); }