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 found the behavior of -a=5 surprising (I was assuming it would simply be the value "5").
test('when combine string short with value including equals then parsed with equals in value',(t)=>{constargs=['-a=5'];constoptions={alpha: {short: 'a',type: 'string'}};constexpected={values: {__proto__: null,alpha: '=5'},positionals: []};constresult=parseArgs({ args, options });t.deepEqual(result,expected);t.end();});
Can someone refresh me on how we landed on this behavior?
The text was updated successfully, but these errors were encountered:
I found the behavior of
-a=5
surprising (I was assuming it would simply be the value "5").Can someone refresh me on how we landed on this behavior?
The text was updated successfully, but these errors were encountered: