Skip to content

Commit

Permalink
Merge pull request #5635 from epage/delim
Browse files Browse the repository at this point in the history
docs(builder): Remove bad copy/paste docs
  • Loading branch information
epage committed Aug 7, 2024
2 parents 9be1319 + 0c4c586 commit ecb4dca
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions clap_builder/src/builder/arg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1545,11 +1545,8 @@ impl Arg {

/// Allow grouping of multiple values via a delimiter.
///
/// i.e. should `--option=val1,val2,val3` be parsed as three values (`val1`, `val2`,
/// and `val3`) or as a single value (`val1,val2,val3`). Defaults to using `,` (comma) as the
/// value delimiter for all arguments that accept values (options and positional arguments)
///
/// **NOTE:** implicitly sets [`Arg::action(ArgAction::Set)`]
/// i.e. allow values (`val1,val2,val3`) to be parsed as three values (`val1`, `val2`,
/// and `val3`) instead of one value (`val1,val2,val3`).
///
/// # Examples
///
Expand Down

0 comments on commit ecb4dca

Please sign in to comment.