2021-02-26 00:33:31 +00:00
name : Bug report
2022-02-08 13:57:45 +00:00
description : An issue with clap, clap_complete, clap_derive, or clap_mangen
2021-12-08 20:48:45 +00:00
labels : 'C-bug'
2021-02-26 00:33:31 +00:00
body :
- type : checkboxes
attributes :
2021-12-08 20:48:45 +00:00
label : Please complete the following tasks
2021-02-26 00:33:31 +00:00
options :
- label : I have searched the [discussions](https://github.com/clap-rs/clap/discussions)
2021-12-07 20:52:53 +00:00
required : true
2022-02-05 15:18:05 +00:00
- label : I have searched the [open](https://github.com/clap-rs/clap/issues) and [rejected](https://github.com/clap-rs/clap/issues?q=is%3Aissue+label%3AS-wont-fix+is%3Aclosed) issues
2021-12-07 20:52:53 +00:00
required : true
2021-12-08 20:48:45 +00:00
- type : input
2021-02-26 00:33:31 +00:00
attributes :
2021-12-08 20:48:45 +00:00
label : Rust Version
description : Output of `rustc -V`
2021-02-26 00:33:31 +00:00
validations :
required : true
- type : input
attributes :
2021-12-08 20:48:45 +00:00
label : Clap Version
2021-02-26 00:33:31 +00:00
description : 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.
2021-12-08 20:48:45 +00:00
validations :
required : true
2021-02-26 00:33:31 +00:00
- type : textarea
attributes :
label : Minimal reproducible code
description : Please write a minimal complete program which has this bug. Do not point to an existing repository.
value : |
```rust
2021-02-26 00:45:53 +00:00
fn main() {}
2021-02-26 00:33:31 +00:00
```
validations :
required : true
2021-12-08 20:48:45 +00:00
- type : textarea
attributes :
label : Steps to reproduce the bug with the above code
description : A command like `cargo run -- options...` or multiple commands.
validations :
required : true
2021-02-26 00:33:31 +00:00
- type : textarea
attributes :
label : Actual Behaviour
2021-02-26 00:45:53 +00:00
description : When I do like *this*, *that* is happening and I think it shouldn't.
2021-12-08 20:48:45 +00:00
validations :
required : true
2021-02-26 00:33:31 +00:00
- type : textarea
attributes :
label : Expected Behaviour
2021-02-26 00:45:53 +00:00
description : I think *this* should happen instead.
2021-12-08 20:48:45 +00:00
validations :
required : true
- type : textarea
attributes :
label : Additional Context
description : Add any other context about the problem here.
2021-02-26 00:33:31 +00:00
- type : textarea
attributes :
label : Debug Output
description : |
Compile clap with `debug` feature :
```toml
[ dependencies]
clap = { version = "*", features = ["debug"] }
```