mirror of
https://github.com/emikulic/darkhttpd.git
synced 2023-08-10 21:13:08 +03:00
Be explicit if the binary was built without IPV6 support.
Fix the number of newlines involved.
This commit is contained in:
parent
2ced9cac51
commit
26129431b9
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user