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:
@ -65,7 +65,7 @@ program
|
|||||||
default: false,
|
default: false,
|
||||||
type: 'boolean'
|
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', {
|
.option('s', {
|
||||||
alias: 'secure',
|
alias: 'secure',
|
||||||
describe: 'Enable HTTPS requests',
|
describe: 'Enable HTTPS requests',
|
||||||
@ -88,7 +88,8 @@ program
|
|||||||
describe: 'Path to TLS CA certificate',
|
describe: 'Path to TLS CA certificate',
|
||||||
type: 'string'
|
type: 'string'
|
||||||
})
|
})
|
||||||
.option('tls-verify-server-cert', {
|
.option('n', {
|
||||||
|
alias: 'tls-verify-server-cert',
|
||||||
describe: 'Whether to verify server TLS certificates',
|
describe: 'Whether to verify server TLS certificates',
|
||||||
default: true,
|
default: true,
|
||||||
type: 'boolean'
|
type: 'boolean'
|
||||||
|
|||||||
Reference in New Issue
Block a user