MXS-2349: Amend create server
documentation
The explanation for the socket behavior was missing.
This commit is contained in:
@ -87,7 +87,9 @@ exports.builder = function(yargs) {
|
|||||||
return yargs.epilog('The created server will not be used by any services or monitors ' +
|
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 ' +
|
'unless the --services or --monitors options are given. The list ' +
|
||||||
'of servers a service or a monitor uses can be altered with the ' +
|
'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]')
|
.usage('Usage: create server <name> <host|socket> [port]')
|
||||||
}, function(argv) {
|
}, function(argv) {
|
||||||
var server = {
|
var server = {
|
||||||
|
Reference in New Issue
Block a user