mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 06:44:16 +00:00
docs: More explicit "derive" feature
This commit is contained in:
parent
27893cfd9a
commit
e3a711ec12
1 changed files with 5 additions and 1 deletions
|
@ -56,7 +56,11 @@ fn main() {
|
|||
}
|
||||
}
|
||||
```
|
||||
*(note: requires feature `derive`)*
|
||||
Add this to `Cargo.toml`:
|
||||
```toml
|
||||
[dependencies]
|
||||
clap = { version = "3.0.0-rc.7", features = ["derive"] }
|
||||
```
|
||||
```bash
|
||||
$ demo --help
|
||||
clap [..]
|
||||
|
|
Loading…
Reference in a new issue