Take port as a separate command-line argument

This commit is contained in:
Matt Brubeck 2021-01-16 10:16:52 -08:00
parent 4e7d09204f
commit dd4be5b9f6
2 changed files with 23 additions and 7 deletions

View file

@ -33,7 +33,9 @@ openssl req -x509 -newkey rsa:4096 -keyout key.rsa -out cert.pem \
agate --content path/to/content/ \
--key key.rsa \
--cert cert.pem \
--addr [::]:1965 \
--addr :: \
--addr 0.0.0.0 \
--port 1965 \
--hostname example.com \
--lang en-US
```