• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1name: Bug report
2description: An issue with clap, clap_complete, clap_derive, or clap_mangen
3labels: 'C-bug'
4body:
5  - type: checkboxes
6    attributes:
7      label: Please complete the following tasks
8      options:
9        - label: I have searched the [discussions](https://github.com/clap-rs/clap/discussions)
10          required: true
11        - 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
12          required: true
13  - type: input
14    attributes:
15      label: Rust Version
16      description: Output of `rustc -V`
17    validations:
18      required: true
19  - type: input
20    attributes:
21      label: Clap Version
22      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.
23    validations:
24      required: true
25  - type: textarea
26    attributes:
27      label: Minimal reproducible code
28      description: Please write a minimal complete program which has this bug. Do not point to an existing repository.
29      value: |
30        ```rust
31        fn main() {}
32        ```
33    validations:
34      required: true
35  - type: textarea
36    attributes:
37      label: Steps to reproduce the bug with the above code
38      description: A command like `cargo run -- options...` or multiple commands.
39    validations:
40      required: true
41  - type: textarea
42    attributes:
43      label: Actual Behaviour
44      description: When I do like *this*, *that* is happening and I think it shouldn't.
45    validations:
46      required: true
47  - type: textarea
48    attributes:
49      label: Expected Behaviour
50      description: I think *this* should happen instead.
51    validations:
52      required: true
53  - type: textarea
54    attributes:
55      label: Additional Context
56      description: Add any other context about the problem here.
57  - type: textarea
58    attributes:
59      label: Debug Output
60      description: |
61        Compile clap with `debug` feature:
62
63        ```toml
64        [dependencies]
65        clap = { version = "*", features = ["debug"] }
66        ```
67