--- name: Bug report about: An issue with clap, clap_derive or clap_generate title: '' labels: 'T: bug' assignees: '' --- ### Make sure you completed the following tasks - [ ] Searched the [discussions](https://github.com/clap-rs/clap/discussions) - [ ] Searched the closes issues ### Code ```rust // You code goes here. Please try to write a complete program, // including `fn main() { ... }` ``` ### Steps to reproduce the issue 1. Run `cargo run -- options...` 2. ??? 3. PROFIT!!! ### Version * **Rust**: Output of `rustc -V` * **Clap**: Can be found in Cargo.lock or Cargo.toml of your project (i.e. `grep clap Cargo.lock`). PLEASE DO NOT PUT "latest" HERE, use precise version. Put `master` (or other branch) if you're using the repo directly. ### Actual Behavior Summary When I do like *this*, *that* is happening and I think it shouldn't. **If a project of yours is blocked due to this bug, please, mention it explicitly.** ### Expected Behavior Summary I think *this* should happen instead. ### Additional context Add any other context about the problem here. ### Debug output Compile clap with `debug` feature: ```toml [dependencies] clap = { version = "*", features = ["debug"] } ``` The output may be very long, so feel free to link to a gist or attach a text file
Debug Output


Paste Debug Output Here