mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 06:42:33 +00:00
commit
9d5cf64d6a
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ pub trait Args: FromArgMatches + Sized {
|
|||
|
||||
/// Parse a sub-command into a user-defined enum.
|
||||
///
|
||||
/// Implementing this trait let's a parent container delegate subcommand behavior to `Self`.
|
||||
/// Implementing this trait lets a parent container delegate subcommand behavior to `Self`.
|
||||
/// with:
|
||||
/// - `#[clap(subcommand)] field: SubCmd`: Attribute can be used with either struct fields or enum
|
||||
/// variants that impl `Subcommand`.
|
||||
|
|
Loading…
Reference in a new issue