From 26129431b996d32342e8d9a7e6981d9df70594cf Mon Sep 17 00:00:00 2001 From: Emil Mikulic Date: Sat, 23 Jan 2016 19:57:23 +1100 Subject: [PATCH] Be explicit if the binary was built without IPV6 support. Fix the number of newlines involved. --- darkhttpd.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/darkhttpd.c b/darkhttpd.c index 66bbd5a..349513b 100644 --- a/darkhttpd.c +++ b/darkhttpd.c @@ -983,10 +983,12 @@ static void usage(const char *argv0) { "\t\tAll requests are redirected to the corresponding url.\n\n"); printf("\t--no-server-id\n" "\t\tDon't identify the server type in headers\n" - "\t\tor directory listings.\n"); + "\t\tor directory listings.\n\n"); #ifdef HAVE_INET6 printf("\t--ipv6\n" - "\t\tListen on IPv6 address.\n"); + "\t\tListen on IPv6 address.\n\n"); +#else + printf("\t(This binary was built without IPv6 support: -DNO_IPV6)\n\n"); #endif }