| 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(-)
--- |
| @@ -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);
}
|