From 96d5c575f8debdece8cf977ffc52c37c151a725a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Tue, 18 Jun 2019 12:52:34 +0300 Subject: [PATCH] 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. --- maxctrl/lib/create.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/maxctrl/lib/create.js b/maxctrl/lib/create.js index 954c4cd92..c0078332d 100644 --- a/maxctrl/lib/create.js +++ b/maxctrl/lib/create.js @@ -200,7 +200,8 @@ exports.builder = function(yargs) { .command('service ', '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 ') }, function(argv) { maxctrl(argv, function(host) {