Skip to content

Commit 250a3f1

Browse files
committed
docs(builder): Explain dont_delimit_trailing_values
1 parent d65a752 commit 250a3f1

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

clap_builder/src/builder/arg.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1657,6 +1657,8 @@ impl Arg {
16571657
/// i.e. allow values (`val1,val2,val3`) to be parsed as three values (`val1`, `val2`,
16581658
/// and `val3`) instead of one value (`val1,val2,val3`).
16591659
///
1660+
/// See also [`Command::dont_delimit_trailing_values`][crate::Command::dont_delimit_trailing_values].
1661+
///
16601662
/// # Examples
16611663
///
16621664
/// ```rust

clap_builder/src/builder/command.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1251,7 +1251,7 @@ impl Command {
12511251
}
12521252
}
12531253

1254-
/// Disables the automatic delimiting of values after `--` or when [`Arg::trailing_var_arg`]
1254+
/// Disables the automatic [delimiting of values][Arg::value_delimiter] after `--` or when [`Arg::trailing_var_arg`]
12551255
/// was used.
12561256
///
12571257
/// <div class="warning">

0 commit comments

Comments
 (0)