MXS-1300: Fix minor MaxCtrl bugs

Fixed unresolved promises, wrong resources being requested and enabled
strict mode so unknown arguments are not ignored.
This commit is contained in:
Markus Mäkelä
2017-08-03 09:44:48 +03:00
parent 512c3c018d
commit 3bd13cded6
3 changed files with 7 additions and 5 deletions

View File

@ -18,6 +18,7 @@ const maxctrl_version = '1.0.0';
program
.version(maxctrl_version)
.strict()
.group(['u', 'p', 'h', 's', 't', 'q', 'tsv'], 'Global Options:')
.option('u', {
alias:'user',