Merge pull request #5174 from kpreid/patch-1

docs: Fix doc link to `Arg::trailing_var_arg`.
This commit is contained in:
Ed Page 2023-10-14 20:18:17 -05:00 committed by GitHub
commit f4319bcbf2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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..)`],