Skip to content

Commit

Permalink
Merge pull request #5174 from kpreid/patch-1
Browse files Browse the repository at this point in the history
docs: Fix doc link to `Arg::trailing_var_arg`.
  • Loading branch information
epage authored Oct 15, 2023
2 parents deebc1f + 71c1e59 commit f4319bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clap_builder/src/builder/arg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1617,7 +1617,7 @@ impl Arg {
/// ```
///
/// Will result in everything after `--` to be considered one raw argument. This behavior
/// may not be exactly what you are expecting and using [`crate::Command::trailing_var_arg`]
/// may not be exactly what you are expecting and using [`Arg::trailing_var_arg`]
/// may be more appropriate.
///
/// **NOTE:** Implicitly sets [`Arg::action(ArgAction::Set)`] [`Arg::num_args(1..)`],
Expand Down

0 comments on commit f4319bc

Please sign in to comment.