commit 7de33ce2bfca4847fc6984135930443461a1c20c from: Stefan Sperling date: Wed Sep 07 12:13:33 2022 UTC document gotwebd command line options commit - 7e8fc9b50c3157452382726df908276e6db69ccd commit + 7de33ce2bfca4847fc6984135930443461a1c20c 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: