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
I was using the following code and I could have swore that it was working, but it does not seem to be working today. args["no-restart"] and args["init-default"] are always undefined even when they exist in process.argv as '--init-default' and '--no-restart'.
Is this supported and if not, is there any reason that it should not be?
OK, I figured it out - you can't have a flag that starts with "no-" because nopt does auto-negation based on the "no-" prefix. (So you have to have a flag called "whatever" instead of "no-whatever".)
I was using the following code and I could have swore that it was working, but it does not seem to be working today.
args["no-restart"]
andargs["init-default"]
are always undefined even when they exist inprocess.argv
as'--init-default'
and'--no-restart'
.Is this supported and if not, is there any reason that it should not be?
The text was updated successfully, but these errors were encountered: