diff --git a/cli/src/cli_util.rs b/cli/src/cli_util.rs index ffe296382..ffb34cae5 100644 --- a/cli/src/cli_util.rs +++ b/cli/src/cli_util.rs @@ -2591,9 +2591,6 @@ fn map_clap_cli_error( ui: &Ui, layered_configs: &LayeredConfigs, ) -> CommandError { - if cmd_err.hint.is_some() { - return cmd_err; - } let Some(err) = cmd_err.error.downcast_ref::() else { return cmd_err; }; @@ -2604,7 +2601,7 @@ fn map_clap_cli_error( if arg.as_str() == "--template