clap/.github/ISSUE_TEMPLATE/bug_report.md

68 lines
1.4 KiB
Markdown
Raw Normal View History

2020-02-13 20:43:23 +00:00
---
name: Bug report
about: An issue with clap, clap_derive or clap_generate
title: ''
labels: 'T: bug'
assignees: ''
---
2020-04-12 10:00:10 +00:00
### Make sure you completed the following tasks
2020-02-13 20:43:23 +00:00
2020-04-12 10:00:10 +00:00
- [ ] Searched the [discussions](https://github.com/clap-rs/clap/discussions)
2020-08-14 01:02:30 +00:00
- [ ] Searched the closed issues
2020-02-13 20:43:23 +00:00
2020-02-29 09:24:15 +00:00
### Code
```rust
2020-04-01 20:32:51 +00:00
// You code goes here. Please try to write a complete program,
2020-02-29 09:24:15 +00:00
// including `fn main() { ... }`
```
2020-04-01 20:32:51 +00:00
2020-02-29 09:24:15 +00:00
### Steps to reproduce the issue
1. Run `cargo run -- options...`
2. ???
3. PROFIT!!!
2020-04-12 10:00:10 +00:00
### Version
2020-02-13 20:43:23 +00:00
2020-04-12 10:00:10 +00:00
* **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.
2020-02-13 20:43:23 +00:00
2020-02-13 21:11:59 +00:00
### Actual Behavior Summary
2020-02-13 20:43:23 +00:00
When I do like *this*, *that* is happening and I think it shouldn't.
2020-04-01 20:32:51 +00:00
**If a project of yours is blocked due to this bug, please, mention it explicitly.**
2020-02-13 21:16:57 +00:00
2020-02-13 21:11:59 +00:00
### Expected Behavior Summary
2020-02-13 20:43:23 +00:00
I think *this* should happen instead.
### Additional context
2020-04-01 20:32:51 +00:00
2020-02-13 20:43:23 +00:00
Add any other context about the problem here.
2020-04-22 18:14:47 +00:00
### 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
<details>
<summary> Debug Output </summary>
<pre>
<code>
Paste Debug Output Here
</code>
</pre>
</details>