//! Helpers for classifying and routing external errors.
use ;
/// Returns `true` when a [`clap::Error`] corresponds to `--help` or
/// `--version`.
///
/// Clap surfaces these requests via specialized [`ErrorKind`] variants so
/// entry points can delegate to [`clap::Error::exit`] and preserve the
/// expected zero exit status. Applications frequently need this inspection
/// when they prefer `Cli::try_parse()` over `Cli::parse()` to keep full
/// control over diagnostics and logging.