Be explicit if the binary was built without IPV6 support.

Fix the number of newlines involved.
This commit is contained in:
Emil Mikulic 2016-01-23 19:57:23 +11:00
parent 2ced9cac51
commit 26129431b9

View File

@ -983,10 +983,12 @@ static void usage(const char *argv0) {
"\t\tAll requests are redirected to the corresponding url.\n\n"); "\t\tAll requests are redirected to the corresponding url.\n\n");
printf("\t--no-server-id\n" printf("\t--no-server-id\n"
"\t\tDon't identify the server type in headers\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 #ifdef HAVE_INET6
printf("\t--ipv6\n" 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 #endif
} }