diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/haunt.texi | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/haunt.texi b/doc/haunt.texi index 0593681..2dd9b8f 100644 --- a/doc/haunt.texi +++ b/doc/haunt.texi @@ -348,7 +348,16 @@ Load the Haunt site declaration from @var{configuration-file}. @item --port=@var{port} @itemx -p @var{port} -Listen for HTTP requests on @var{port}. +Listen for HTTP requests on @var{port}. Defaults to 8080. + +@item --host=@var{host} +@itemx -p @var{host} + +Listen for HTTP requests on @var{host}. Accepts an IP address (IPv4 +or IPv6), @code{localhost} or @code{loopback} to serve on the local +loopback device (the default), or @code{any} to bind on all local +available ports (useful if you want to show off your website to +someone else on your LAN, or something.) @item --watch @itemx -w |