Closed jedbrown closed 1 year ago
I suspect something in clap. Can you investigate more?
I ran into this today too, and traced it to a clap change. Clap moved from possible_values
to value_parser
for defining the set of valid values for an option, but with value_parser
it seems that Palette
bring FromStr
isn't enough to cast it correctly. More here: https://github.com/clap-rs/clap/discussions/3855
Anyone wants to submit a PR to solve this?
Thanks for the link @mwcz. I made a PR.
FYI, this error is present in the latest crates.io release.
I've published 0.6.4.
I get this on current main (00d66a7e0f5af28ca5071f350345b9fa453a078d). I don't know if this is a side-effect from an inferno or clap update.