Document required create service
parameters
When a service is created via MaxCtrl, the `user` and `password` parameters must be defined. This was not documented in the command help output.
This commit is contained in:
parent
a60bd37610
commit
96d5c575f8
@ -200,7 +200,8 @@ exports.builder = function(yargs) {
|
||||
.command('service <name> <router> <params...>', 'Create a new service', function(yargs) {
|
||||
return yargs.epilog('The last argument to this command is a list of key=value parameters ' +
|
||||
'given as the service parameters. If the --servers or --filters options ' +
|
||||
'are used, they must be defined after the service parameters.')
|
||||
'are used, they must be defined after the service parameters.' +
|
||||
'\n\nNote that the `user` and `password` parameters must be defined.')
|
||||
.usage('Usage: service <name> <router> <params...>')
|
||||
}, function(argv) {
|
||||
maxctrl(argv, function(host) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user