-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nodemcu-tool --optimize
doesn't work
#40
Comments
Dear T-vK, i can confirm this issue...it seems to be an error within commanderjs argument parsing. but maybe it's an issue by design because NodeMCU-Tool is using a sub-command structure and the argument options are only added to the specific sub-commands. when commander tries to dispatch a command like upload it has to parse the global options first. unknown arguments may parsed in a generic way... generally the tool should be called like this:
this causes an error
this works..
|
Wouldn't it make more sense to have |
i've never said that this are global options, the examples above are only used as testcase ;) |
Isn't the CommandReference kind of misleading then? |
of course, i'm currently fixing this |
nodemcu-tool --optimize upload init.lua
results in[NodeMCU-Tool] Unknown command "init.lua"
.Can anyone confirm this?
The text was updated successfully, but these errors were encountered: