diff --git a/maxctrl/lib/core.js b/maxctrl/lib/core.js index a386c9642..85391111c 100644 --- a/maxctrl/lib/core.js +++ b/maxctrl/lib/core.js @@ -104,7 +104,7 @@ program .demandCommand(1, 'At least one command is required') .command('*', 'the default command', {}, function(argv) { maxctrl(argv, function() { - return error('Unknown command. See output of `help` for a list of commands.') + return error('Unknown command ' + JSON.stringify(argv._) + '. See output of `help` for a list of commands.') }) })