MXS-1779 Expand classify help output

This commit is contained in:
Johan Wikman 2018-10-30 16:08:44 +02:00
parent 868c6c4e4b
commit a7eddfc6b4

View File

@ -41,6 +41,11 @@ exports.handler = function (argv) {
exports.builder = function(yargs) {
yargs
.usage('Usage: classify <statement>')
.epilog('Classify the statement using MaxScale and display the result. ' +
'The possible values for "Parse result", "Type mask" and "Operation" ' +
'can be looked up in ' +
'https://github.com/mariadb-corporation/MaxScale/blob/' +
'2.3/include/maxscale/query_classifier.h')
.help()
.command('*', 'the default command', {}, function(argv) {
console.log("*");