Show help when entering an invalid command

This commit is contained in:
Juan Cruz Viotti 2014-12-10 10:29:23 -04:00
parent 817babc059
commit e1e7c33752

View File

@ -86,4 +86,10 @@ exports.addResource = (options = {}) ->
permission: options.permission
exports.parse = (argv) ->
exports.addCommand
command: '*'
action: ->
program.outputHelp()
program.parse(argv)