Skip to content

Commit

Permalink
docs(parser): Clarify meaning of args_present
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Feb 11, 2025
1 parent 0ef80bb commit 24fd0a7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion clap_builder/src/parser/matches/arg_matches.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down

0 comments on commit 24fd0a7

Please sign in to comment.