mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 06:12:40 +00:00
docs(tutorial): Clarify subcommand wording
This commit is contained in:
parent
396ea15a41
commit
97a5c27d74
1 changed files with 1 additions and 1 deletions
|
@ -266,7 +266,7 @@ name: Some("bob")
|
|||
|
||||
### Subcommands
|
||||
|
||||
Subcommands are derived with `Subcommand` that get added via `#[clap(subcommand)]` attribute. Each
|
||||
Subcommands are derived with `#[derive(Subcommand)]` and be added via `#[clap(subcommand)]` attribute. Each
|
||||
instance of a Subcommand can have its own version, author(s), Args, and even its own
|
||||
subcommands.
|
||||
|
||||
|
|
Loading…
Reference in a new issue