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
Passing an empty string ("") to an option with a required value results in an error. In case of optional value the string is ignored and you get true instead.
Is it a bug or working as intended?
The text was updated successfully, but these errors were encountered:
An aside, but seems like short flag only options are broken at the moment. "-A [a]" resulted in name being an empty string.
greentore
changed the title
Empty strings are not recognized as a value for option
Empty strings are parsed as arguments regardless of context
Apr 17, 2024
Passing an empty string (
""
) to an option with a required value results in an error. In case of optional value the string is ignored and you gettrue
instead.Is it a bug or working as intended?
The text was updated successfully, but these errors were encountered: