diff --git a/clap_builder/src/parser/matches/arg_matches.rs b/clap_builder/src/parser/matches/arg_matches.rs index 67929a1b22d..78e6c758a2b 100644 --- a/clap_builder/src/parser/matches/arg_matches.rs +++ b/clap_builder/src/parser/matches/arg_matches.rs @@ -554,7 +554,10 @@ impl ArgMatches { } } - /// Check if any args were present on the command line + /// Check if any [`Arg`][crate::Arg]s were present on the command line + /// + /// See [`ArgMatches::subcommand_name()`] or [`ArgMatches::subcommand()`] to check if a + /// subcommand was present on the command line. /// /// # Examples ///