MXS-2349: Amend create server documentation

The explanation for the socket behavior was missing.
This commit is contained in:
Markus Mäkelä 2019-04-15 11:59:54 +03:00
parent 2f243b8f08
commit df3950dbc0
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -87,7 +87,9 @@ exports.builder = function(yargs) {
return yargs.epilog('The created server will not be used by any services or monitors ' +
'unless the --services or --monitors options are given. The list ' +
'of servers a service or a monitor uses can be altered with the ' +
'`link` and `unlink` commands.')
'`link` and `unlink` commands. If the <host|socket> argument is an ' +
'absolute path, the server will use a local UNIX domain socket ' +
'connection. In this case the [port] argument is ignored.')
.usage('Usage: create server <name> <host|socket> [port]')
}, function(argv) {
var server = {