Fix option description

This commit is contained in:
Toby 2020-08-07 18:48:58 -07:00
parent f0fc398ebb
commit 7a93091fb7
2 changed files with 4 additions and 4 deletions

View File

@ -92,8 +92,8 @@ The command line program supports loading configurations from both JSON files an
| HTTP connection timeout in seconds | http_timeout | -http-timeout |
| HTTP basic auth username | http_user | -http-user |
| HTTP basic auth password | http_password | -http-password |
| HTTPS cert file | https_cert | -http-cert |
| HTTPS cert key | https_key | -http-key |
| HTTPS certificate file | https_cert | -http-cert |
| HTTPS key file | https_key | -http-key |
| Access control list | acl | -acl |
| Server address | server | -server |
| Authentication username | username | -username |

View File

@ -15,8 +15,8 @@ type proxyClientConfig struct {
HTTPTimeout int `json:"http_timeout" desc:"HTTP connection timeout in seconds"`
HTTPUser string `json:"http_user" desc:"HTTP basic auth username"`
HTTPPassword string `json:"http_password" desc:"HTTP basic auth password"`
HTTPSCert string `json:"https_cert" desc:"HTTPS cert file"`
HTTPSKey string `json:"https_key" desc:"HTTPS cert key"`
HTTPSCert string `json:"https_cert" desc:"HTTPS certificate file"`
HTTPSKey string `json:"https_key" desc:"HTTPS key file"`
ACLFile string `json:"acl" desc:"Access control list"`
ServerAddr string `json:"server" desc:"Server address"`
Username string `json:"username" desc:"Authentication username"`