MXS-1300: Make global option descriptions more brief

The option descriptions now fit on one line with their parameter types and
default values.
This commit is contained in:
Markus Mäkelä
2017-06-30 15:58:33 +03:00
parent f62e899b79
commit 30a40a090b

View File

@ -34,19 +34,19 @@ program
}) })
.option('h', { .option('h', {
alias: 'host', alias: 'host',
describe: 'The hostname or address where MaxScale is located', describe: 'MaxScale hostname',
default: 'localhost', default: 'localhost',
type: 'string' type: 'string'
}) })
.option('P', { .option('P', {
alias: 'port', alias: 'port',
describe: 'The port where MaxScale REST API listens on', describe: 'MaxScale REST API port',
default: 8989, default: 8989,
type: 'number' type: 'number'
}) })
.option('s', { .option('s', {
alias: 'secure', alias: 'secure',
describe: 'Enable TLS encryption of connections', describe: 'Enable HTTPS requests',
default: 'false', default: 'false',
type: 'boolean' type: 'boolean'
}) })