mirror of
https://github.com/dstotijn/hetty
synced 2024-11-26 21:50:19 +00:00
Fix usage snippet in README
This commit is contained in:
parent
ce4805452f
commit
f97e0526d7
1 changed files with 4 additions and 3 deletions
|
@ -72,15 +72,16 @@ http://localhost:8080. Depending on incoming HTTP requests, it either acts as a
|
||||||
MITM proxy, or it serves the GraphQL API and web interface (Next.js).
|
MITM proxy, or it serves the GraphQL API and web interface (Next.js).
|
||||||
|
|
||||||
```
|
```
|
||||||
$ Usage of ./hetty:
|
$ hetty -h
|
||||||
|
Usage of ./hetty:
|
||||||
-addr string
|
-addr string
|
||||||
TCP address to listen on, in the form "host:port" (default ":80")
|
TCP address to listen on, in the form "host:port" (default ":8080")
|
||||||
-adminPath string
|
-adminPath string
|
||||||
File path to admin build
|
File path to admin build
|
||||||
-cert string
|
-cert string
|
||||||
CA certificate filepath. Creates a new CA certificate is file doesn't exist (default "~/.hetty/hetty_cert.pem")
|
CA certificate filepath. Creates a new CA certificate is file doesn't exist (default "~/.hetty/hetty_cert.pem")
|
||||||
-db string
|
-db string
|
||||||
Database file path (default "hetty.db")
|
Database file path (default "~/.hetty/hetty.bolt")
|
||||||
-key string
|
-key string
|
||||||
CA private key filepath. Creates a new CA private key if file doesn't exist (default "~/.hetty/hetty_key.pem")
|
CA private key filepath. Creates a new CA private key if file doesn't exist (default "~/.hetty/hetty_key.pem")
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue