diff --git a/doc/hg.1.txt b/doc/hg.1.txt --- a/doc/hg.1.txt +++ b/doc/hg.1.txt @@ -274,13 +274,18 @@ revert [names ...]:: root:: Print the root directory of the current repository. -serve [-a addr -n name -p port -t templatedir]:: +serve [-a addr -l logfile -n name -p port -t templatedir]:: Start a local HTTP repository browser and pull server. + By default, the server logs accesses to stdout and errors to + stderr. Use the "-A" and "-E" options to log to files. + options: - -a, --address address to use - -p, --port port to use (default: 8000) - -n, --name name to show in web pages (default: working dir) + -A, --accesslog name of access log file to write to + -E, --errorlog name of error log file to write to + -a, --address address to use + -p, --port port to use (default: 8000) + -n, --name name to show in web pages (default: working dir) -t, --templatedir web templates to use status::