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
{{ message }}
Repository navigation
What is the correct way to parse an argument with value - #574
Activity
moh-hassan commentedon Feb 1, 2020
Use triple quote to quote "-" in the commandline, , then it will passed to the parser with Single Quote:
--somearg 2 --thisfails """-""" --anotherarg 3
tevoinea commentedon Feb 5, 2020
In my testing, the triple quote returned a value of
"-"not-but that's ok, we can work around that.Thanks!
moh-hassan commentedon Jul 5, 2020
To avoid tripple quote, merging options with single dash as a value is allowed:
moh-hassan commentedon Jul 24, 2020
Single dash will be considered as a value in the next release