mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 14:52:33 +00:00
Merge pull request #5174 from kpreid/patch-1
docs: Fix doc link to `Arg::trailing_var_arg`.
This commit is contained in:
commit
f4319bcbf2
1 changed files with 1 additions and 1 deletions
|
@ -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..)`],
|
||||
|
|
Loading…
Reference in a new issue