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
Describe the bug
Providing a valid value starting with - throws an exception / error, when using the following syntax:
# value `-size` is short form for `size descending`
cli-tester test input.mp3 --order-by "-size"
Error: Option 'order-by' is defined but no value has been provided.
test input.mp3 --order-by -size
^^^^^^^^^^ No value provided
Using the syntax with = as value separator works like expected:
cli-tester test input.mp3 --order-by="-size"
# works like expected, prints out the unmodified option value for `--order-by`
order-by=<-size>
Expected behavior
I would expect that option valid values with leading - would be correctly handled when NOT using = as separator, otherwise the behaviour is inconsistent in my opinion.
The text was updated successfully, but these errors were encountered:
Information
Describe the bug
Providing a valid value starting with
-
throws an exception / error, when using the following syntax:Using the syntax with
=
as value separator works like expected:To Reproduce
Expected behavior
I would expect that option valid values with leading
-
would be correctly handled when NOT using=
as separator, otherwise the behaviour is inconsistent in my opinion.The text was updated successfully, but these errors were encountered: