@ -28,7 +28,13 @@ By default, kiwix-serve expects a list of ZIM files as command line arguments. P
.TP
\fB-i ADDR, --address=ADDR\fR
Listen only on this IP address. By default, the server listens on all available IP addresses.
Listen only on this IP address. By default, the server listens on all available IP addresses. Alternatively, you can use special values to define which types of connections to accept:
all : Listen for connections on all IP addresses (IPv4 and IPv6).
.br
ipv4 : Listen for connections on all IPv4 addresses.
.br
ipv6 : Listen for connections on all IPv6 addresses.
<<"\t-h, --help\t\tPrint this help"<<std::endl<<std::endl
<<"\t-a, --attachToProcess\tExit if given process id is not running anymore"<<std::endl
<<"\t-d, --daemon\t\tDetach the HTTP server daemon from the main process"<<std::endl
<<"\t-i, --address\t\tListen only on this ip address, all available ones otherwise"<<std::endl
<<"\t-i, --address\t\tListen only on the specified IP address. Specify 'ipv4', 'ipv6' or 'all' to listen on all IPv4, IPv6 or both types of addresses, respectively (default: all)."<<std::endl
<<"\t-M, --monitorLibrary\tMonitor the XML library file and reload it automatically"<<std::endl
<<"\t-m, --nolibrarybutton\tDon't print the builtin home button in the builtin top bar overlay"<<std::endl
<<"\t-n, --nosearchbar\tDon't print the builtin bar overlay on the top of each served page"<<std::endl
@ -367,6 +367,19 @@ int main(int argc, char** argv)