summaryrefslogtreecommitdiff
path: root/doc/haunt.texi
diff options
context:
space:
mode:
authorChristine Lemmer-Webber <cwebber@dustycloud.org>2022-06-01 19:27:52 -0400
committerChristine Lemmer-Webber <cwebber@dustycloud.org>2022-06-01 19:27:52 -0400
commitddefe10ba133c8397ddf46c15e2614c1748ddf99 (patch)
tree47d359c31ba2dcf051b68cb8e692c6cc81a3d4ee /doc/haunt.texi
parent4848354e9be7c4f444ef44a586560f71f50a8673 (diff)
ui: serve: Allow for setting the host explicitly.
Also update docs accordingly.
Diffstat (limited to 'doc/haunt.texi')
-rw-r--r--doc/haunt.texi11
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