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
2 changed files with 12 additions and 2 deletions

View File

@ -59,8 +59,9 @@ HTTPS/TLS Options:
[boolean] [default: true] [boolean] [default: true]
Options: Options:
--version Show version number [boolean] --version Show version number [boolean]
--help Show help [boolean] --tls-passphrase Password for the TLS private key [string]
--help Show help [boolean]
``` ```
## list ## list
@ -675,6 +676,11 @@ Usage: api <command>
Commands: Commands:
get <resource> [path] Get raw JSON 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 ### api get

View File

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