Skip to content

Commit ecb4dca

Browse files
authored
Merge pull request #5635 from epage/delim
docs(builder): Remove bad copy/paste docs
2 parents 9be1319 + 0c4c586 commit ecb4dca

File tree

1 file changed

+2
-5
lines changed
  • clap_builder/src/builder

1 file changed

+2
-5
lines changed

clap_builder/src/builder/arg.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1545,11 +1545,8 @@ impl Arg {
15451545

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

0 commit comments

Comments
 (0)