Merge branch '2.3' into develop
This commit is contained in:
@ -93,7 +93,10 @@ exports.builder = function(yargs) {
|
||||
})
|
||||
.command('service <service> <key> <value>', 'Alter service parameters', function(yargs) {
|
||||
return yargs.epilog('To display the service parameters, execute `show service <service>`. ' +
|
||||
'The following list of parameters can be altered at runtime:\n\n' + JSON.stringify(service_params, null, 4))
|
||||
'Some routers support runtime configuration changes to all parameters. ' +
|
||||
'Currently all readconnroute, readwritesplit and schemarouter parameters ' +
|
||||
'can be changed at runtime. In addition to module specific parameters, ' +
|
||||
'the following list of common service parameters can be altered at runtime:\n\n' + JSON.stringify(service_params, null, 4))
|
||||
.usage('Usage: alter service <service> <key> <value>')
|
||||
}, function(argv) {
|
||||
maxctrl(argv, function(host) {
|
||||
|
||||
@ -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'
|
||||
|
||||
Reference in New Issue
Block a user