mirror of
https://github.com/status-im/re-natal.git
synced 2025-02-27 11:40:28 +00:00
output usage info if no command is given
This commit is contained in:
parent
35f5e6cd52
commit
76c23627a2
@ -290,4 +290,7 @@ unless semver.satisfies process.version[1...], nodeVersion
|
||||
You have #{process.version[1...]}
|
||||
"""
|
||||
|
||||
cli.parse process.argv
|
||||
if process.argv.length <= 2
|
||||
cli.outputHelp()
|
||||
else
|
||||
cli.parse process.argv
|
||||
|
Loading…
x
Reference in New Issue
Block a user