Skip to content

Commit

Permalink
Fix doc link to trailing_var_arg
Browse files Browse the repository at this point in the history
  • Loading branch information
kpreid committed Oct 15, 2023
1 parent deebc1f commit 7737afe
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 7737afe

Please sign in to comment.