allow_missing_positional with allow_hyphen_values not working #4649
Labels
A-parsing
Area: Parser's logic and needs it changed somehow.
C-enhancement
Category: Raise on the bar on expectations
S-waiting-on-design
Status: Waiting on user-facing design to be resolved before implementing
Please complete the following tasks
Rust Version
rustc 1.66.0 (69f9c33d7 2022-12-12)
Clap Version
4.0.29
Minimal reproducible code
Steps to reproduce the bug with the above code
https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=1b582ab81b2884b8696d70789b6e9ed4
Actual Behaviour
Expected Behaviour
There should be no parsing error and the
v1
Option
should beNone
.Additional Context
The command I'm replicating is documented here: https://mgorny.pl/articles/the-ultimate-guide-to-eapi-7.html#version-comparison-ver-test
Debug Output
The text was updated successfully, but these errors were encountered: