Add short version of --tls-verify-server-cert
It is frequently used when using self-signed certificates so making it shorther makes life easier. Also added the missing --tls-passphrase into the TLS options group.
This commit is contained in:
parent
6436d959e3
commit
af33d19703
@ -65,7 +65,7 @@ program
|
||||
default: false,
|
||||
type: 'boolean'
|
||||
})
|
||||
.group(['s', 'tls-key', 'tls-cert', 'tls-ca-cert', 'tls-verify-server-cert'], 'HTTPS/TLS Options:')
|
||||
.group(['s', 'tls-key', 'tls-passphrase', 'tls-cert', 'tls-ca-cert', 'n'], 'HTTPS/TLS Options:')
|
||||
.option('s', {
|
||||
alias: 'secure',
|
||||
describe: 'Enable HTTPS requests',
|
||||
@ -88,7 +88,8 @@ program
|
||||
describe: 'Path to TLS CA certificate',
|
||||
type: 'string'
|
||||
})
|
||||
.option('tls-verify-server-cert', {
|
||||
.option('n', {
|
||||
alias: 'tls-verify-server-cert',
|
||||
describe: 'Whether to verify server TLS certificates',
|
||||
default: true,
|
||||
type: 'boolean'
|
||||
|
Loading…
x
Reference in New Issue
Block a user