You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are two issues I haven't figured out how to solve properly in your code:
If the tiny script is ran without any arguments, the program doesn't output anything and never exits. It would probably be better if it had a fallback to running usage() if no other operation has been requested.
Writing multiple arguments together to ie. -dp will cause the program to just exit right away, and not do anything. I can't help but think using some other node module for parsing the arguments would make it much easier, instead of reinventing the wheel. That would of course introduce another dependency though.
The text was updated successfully, but these errors were encountered:
There are two issues I haven't figured out how to solve properly in your code:
tiny
script is ran without any arguments, the program doesn't output anything and never exits. It would probably be better if it had a fallback to runningusage()
if no other operation has been requested.-dp
will cause the program to just exit right away, and not do anything. I can't help but think using some other node module for parsing the arguments would make it much easier, instead of reinventing the wheel. That would of course introduce another dependency though.The text was updated successfully, but these errors were encountered: