Skip to main content

confirm_command_correction

Function confirm_command_correction 

Source
pub fn confirm_command_correction(
    args: &[String],
    suggestion: &str,
    auto_interactive: bool,
) -> CommandCorrection
Expand description

Offer to correct an unknown command spelling. Never prompts when non-interactive; interactivity follows the same raw-args rules as try_recover_missing_args.