more notes

This commit is contained in:
Adam D. Ruppe 2021-12-22 18:46:50 -05:00
parent 2fe3355560
commit a1659f7c34
1 changed files with 5 additions and 1 deletions

6
cgi.d
View File

@ -3486,7 +3486,11 @@ struct RequestServer {
listeningPort = defaultPort;
}
/// Reads the args into the other values.
/++
Reads the command line arguments into the values here.
Possible arguments are `--listening-host`, `--listening-port` (or `--port`), `--uid`, and `--gid`.
+/
void configureFromCommandLine(string[] args) {
bool foundPort = false;
bool foundHost = false;