default_value_if
/ required_unless
broken between v3.1.17 and v3.2.11
#3936
Labels
default_value_if
/ required_unless
broken between v3.1.17 and v3.2.11
#3936
Please complete the following tasks
Rust Version
rustc 1.62.0 (a8314ef7d 2022-06-27)
Clap Version
v3.2.11
Minimal reproducible code
Using the latest
main
(5f3451efdbbd379133e6abf27c1054b0f0d33b45) of https://github.com/containers/conmon-rs:Applying the update patch
Steps to reproduce the bug with the above code
Actual Behaviour
clap complains that
--runtime
and--runtime-dir
are required.Expected Behaviour
That the version output gets printed.
Additional Context
When changing both
default_value_if
in:to
required_unless
via:has the same effect.
Debug Output
The text was updated successfully, but these errors were encountered: