mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
parent
944556ed20
commit
777e4dc41b
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@
|
||||||
//!
|
//!
|
||||||
//! **Magic attributes:**
|
//! **Magic attributes:**
|
||||||
//! - `name = <expr>`: [`Command::name`][crate::Command::name]
|
//! - `name = <expr>`: [`Command::name`][crate::Command::name]
|
||||||
//! - When not present: [crate `name`](https://doc.rust-lang.org/cargo/reference/manifest.html#the-name-field) (if on [`Parser`][crate::Parser] container), variant name (if on [`Subcommand`][crate::Subcommand] variant)
|
//! - When not present: [package `name`](https://doc.rust-lang.org/cargo/reference/manifest.html#the-name-field) (if on [`Parser`][crate::Parser] container), variant name (if on [`Subcommand`][crate::Subcommand] variant)
|
||||||
//! - `version [= <expr>]`: [`Command::version`][crate::Command::version]
|
//! - `version [= <expr>]`: [`Command::version`][crate::Command::version]
|
||||||
//! - When not present: no version set
|
//! - When not present: no version set
|
||||||
//! - Without `<expr>`: defaults to [crate `version`](https://doc.rust-lang.org/cargo/reference/manifest.html#the-version-field)
|
//! - Without `<expr>`: defaults to [crate `version`](https://doc.rust-lang.org/cargo/reference/manifest.html#the-version-field)
|
||||||
|
|
Loading…
Reference in a new issue