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
Ability to make options required:
Example: the --tel option is required (not just the argument)
myapp.js --tel=555-555-1234
Also required ARGs should remove 1st = and alltrim(spaces) of argument
e.g. myapp.js tel: '=555-555-1234'
Also a required ARG should not take the next option as an ARG
e.g.
myapp.s --tel -v
Currently it accepts it as an argument shows {tel: '-v'}
of course this could cause an issue if someone wants an argument that starts with '-' or '--'
so maybe it can be escaped (or they can use =)
E.g. myapp.js --tel=-v
Thanks!
The text was updated successfully, but these errors were encountered:
Ability to make options required:
Example: the --tel option is required (not just the argument)
myapp.js --tel=555-555-1234
Also required ARGs should remove 1st = and alltrim(spaces) of argument
e.g. myapp.js tel: '=555-555-1234'
Also a required ARG should not take the next option as an ARG
e.g.
myapp.s --tel -v
Currently it accepts it as an argument shows {tel: '-v'}
of course this could cause an issue if someone wants an argument that starts with '-' or '--'
so maybe it can be escaped (or they can use =)
E.g. myapp.js --tel=-v
Thanks!
The text was updated successfully, but these errors were encountered: