mirror of
https://github.com/clap-rs/clap
synced 2024-12-15 23:32:32 +00:00
fix typoes
This commit is contained in:
parent
c3815cdd81
commit
e05c792f65
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@
|
||||||
//!
|
//!
|
||||||
//! Then, each field of the struct not marked as a subcommand corresponds
|
//! Then, each field of the struct not marked as a subcommand corresponds
|
||||||
//! to a `clap::Arg`. As with the struct attributes, every method of
|
//! to a `clap::Arg`. As with the struct attributes, every method of
|
||||||
//! `clap::Arg`in the form of `fn function_name(self, &str)` can be used
|
//! `clap::Arg` in the form of `fn function_name(self, &str)` can be used
|
||||||
//! through specifying it as an attribute.
|
//! through specifying it as an attribute.
|
||||||
//! The `name` attribute can be used to customize the
|
//! The `name` attribute can be used to customize the
|
||||||
//! `Arg::with_name()` call (defaults to the field name).
|
//! `Arg::with_name()` call (defaults to the field name).
|
||||||
|
@ -97,7 +97,7 @@
|
||||||
//! }
|
//! }
|
||||||
//! ```
|
//! ```
|
||||||
//!
|
//!
|
||||||
//! ## Subcomamnds
|
//! ## Subcommands
|
||||||
//!
|
//!
|
||||||
//! Some applications, like `git`, support "subcommands;" an extra command that
|
//! Some applications, like `git`, support "subcommands;" an extra command that
|
||||||
//! is used to differentiate what the application should do. With `git`, these
|
//! is used to differentiate what the application should do. With `git`, these
|
||||||
|
|
Loading…
Reference in a new issue