From 8ab57ed74ea67d3f023aa0fcd695cb107b676501 Mon Sep 17 00:00:00 2001 From: sigoden Date: Sat, 20 Apr 2024 21:07:30 +0800 Subject: refactor: update description for cli options and config fields (#423) --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 4ab4cb8..66492da 100644 --- a/src/main.rs +++ b/src/main.rs @@ -169,7 +169,7 @@ fn execute(config: &GlobalConfig, mut input: Input) -> Result<()> { println!("{}", markdown_render.render(&eval_str).trim()); let mut explain = false; loop { - let answer = Text::new("[1]:execute [2]:explain [3]:revise [4]:exit") + let answer = Text::new("[1]:execute [2]:explain [3]:revise [4]:cancel") .with_default("1") .with_validator(|input: &str| match matches!(input, "1" | "2" | "3" | "4") { true => Ok(Validation::Valid), -- cgit v1.2.3