MXS-2357: Explain runtime changes in alter service

The help output now states that a subset of the routers support runtime
configuration changes to all parameters.
This commit is contained in:
Markus Mäkelä 2019-03-02 17:27:47 +02:00
parent 7fb2ae571b
commit 14557c7455
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -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) {