From d69770d760041be4238dab764b4d77b2e7c6ce67 Mon Sep 17 00:00:00 2001 From: Talison Fabio <54823205+talis-fb@users.noreply.github.com> Date: Mon, 24 Mar 2025 09:19:08 -0300 Subject: [PATCH] fix: update error message when find EOF in choise prompt response --- src/utils/question.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/question.rs b/src/utils/question.rs index 739b50b..743d8fb 100644 --- a/src/utils/question.rs +++ b/src/utils/question.rs @@ -297,7 +297,7 @@ impl<'a> Confirmation<'a> { let error = FinalError::with_title("Unexpected EOF when asking question.") .detail("When asking the user:") .detail(format!(" \"{message}\"")) - .detail("Expected 'y' or 'n' as answer, but found EOF instead.") + .detail("Expected one of the options as answer, but found EOF instead.") .hint("If using Ouch in scripting, consider using `--yes` and `--no`."); return Err(error.into());