mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
docs: Update clap_app docs
This commit is contained in:
parent
6ce9714e2b
commit
7ac79da34a
1 changed files with 1 additions and 2 deletions
|
@ -213,8 +213,7 @@ macro_rules! app_from_crate {
|
|||
///
|
||||
/// * A single hyphen followed by a character (such as `-c`) sets the [`Arg::short`]
|
||||
/// * A double hyphen followed by a character or word (such as `--config`) sets [`Arg::long`]
|
||||
/// * Three dots (`...`) sets [`Arg::multiple_values(true)`]
|
||||
/// * Three dots (`...`) sets [`Arg::multiple_occurrences(true)`]
|
||||
/// * Three dots (`...`) sets [`Arg::multiple_values(true)`] and [`Arg::multiple_occurrences(true)`]
|
||||
/// * Angled brackets after either a short or long will set [`Arg::value_name`] and
|
||||
/// `Arg::required(true)` such as `--config <FILE>` = `Arg::value_name("FILE")` and
|
||||
/// `Arg::required(true)`
|
||||
|
|
Loading…
Reference in a new issue