Skip to content

Commit

Permalink
docs: Fix doc link to Arg::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 71c1e59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clap_builder/src/builder/arg.rs
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 71c1e59

Please sign in to comment.