Add missing tls-passphrase documentation

The tls-passphrase was not documented in MaxCtrl. Also regenerated the
documentation.
This commit is contained in:
Markus Mäkelä 2018-06-18 10:04:15 +03:00
parent 24bb8b0b2c
commit 6df0804e70
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19
2 changed files with 12 additions and 2 deletions

View File

@ -59,8 +59,9 @@ HTTPS/TLS Options:
[boolean] [default: true]
Options:
--version Show version number [boolean]
--help Show help [boolean]
--version Show version number [boolean]
--tls-passphrase Password for the TLS private key [string]
--help Show help [boolean]
```
## list
@ -675,6 +676,11 @@ Usage: api <command>
Commands:
get <resource> [path] Get raw JSON
API options:
--sum Calculate sum of API result. Only works for arrays of numbers e.g. `api
get --sum servers data[].attributes.statistics.connections`.
[boolean] [default: false]
```
### api get

View File

@ -74,6 +74,10 @@ program
describe: 'Path to TLS public certificate',
type: 'string'
})
.option('tls-passphrase', {
describe: 'Password for the TLS private key',
type: 'string'
})
.option('tls-ca-cert', {
describe: 'Path to TLS CA certificate',
type: 'string'