mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-04-08 20:04:14 +00:00
Show help when entering an invalid command
This commit is contained in:
parent
817babc059
commit
e1e7c33752
@ -86,4 +86,10 @@ exports.addResource = (options = {}) ->
|
||||
permission: options.permission
|
||||
|
||||
exports.parse = (argv) ->
|
||||
|
||||
exports.addCommand
|
||||
command: '*'
|
||||
action: ->
|
||||
program.outputHelp()
|
||||
|
||||
program.parse(argv)
|
||||
|
Loading…
x
Reference in New Issue
Block a user