mirror of
https://github.com/clap-rs/clap
synced 2025-03-04 15:27:16 +00:00
docs: Fix link to example
This commit is contained in:
parent
0d022f18a9
commit
92e1666868
1 changed files with 1 additions and 1 deletions
|
@ -308,7 +308,7 @@ $ 03_04_subcommands_derive add bob
|
|||
|
||||
Above, we used a struct-variant to define the `add` subcommand. Alternatively,
|
||||
you can
|
||||
[use a struct for your subcommand's arguments](03_04_subcommands_alt_derive.rs).
|
||||
[use a struct for your subcommand's arguments](03_04_subcommands_alt.rs).
|
||||
|
||||
Because we used `command: Commands` instead of `command: Option<Commands>`:
|
||||
```console
|
||||
|
|
Loading…
Add table
Reference in a new issue