Commit Diff


commit - 380f0955436e908599de13145534928440008d08
commit + 3e208fd921aae5386a29d157e032397047b6577b
blob - e40d48824a544266daf5a78e19050a2d586f4751
blob + e25b7e40a2beb630e790d34050f6ab8476010421
--- gotwebd/gotwebd.8
+++ gotwebd/gotwebd.8
@@ -21,6 +21,9 @@
 .Nd Game of Trees Git Fast-CGI repository server for web browsers
 .Sh SYNOPSIS
 .Nm
+.Op Fl dnv
+.Op Fl D Ar macro=value
+.Op Fl f Ar file
 .Sh DESCRIPTION
 .Nm
 is a Fast-CGI server program which can display the contents of Git
@@ -30,6 +33,25 @@ the
 .Xr httpd 8
 web server.
 .Pp
+.Nm
+provides the following options:
+.Bl -tag -width tenletters
+.It Fl d
+Do not daemonize and log to stderr.
+.It Fl D Ar macro=value
+Override the value of a macro used in the configuration file.
+.It Fl f Ar file
+Set the path to the configuration file.
+If not specified, the file
+.Pa /etc/gotwebd.conf
+will be used.
+.It Fl n
+Parse the configuration file, report errors if any, and exit.
+.It Fl v
+Verbose mode.
+Verbosity increases if this option is used multiple times.
+.El
+.Pp
 Enabling
 .Nm
 requires the following steps: