diff options
| author | sigoden <sigoden@gmail.com> | 2024-04-20 21:07:30 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-20 21:07:30 +0800 |
| commit | 8ab57ed74ea67d3f023aa0fcd695cb107b676501 (patch) | |
| tree | 3047e4efdc24f66b30a9df30058695b757e2c342 /src/main.rs | |
| parent | 5d763fc10c4e3d40268ead473ccb0000b4923bd1 (diff) | |
| download | aichat-8ab57ed74ea67d3f023aa0fcd695cb107b676501.tar.gz | |
refactor: update description for cli options and config fields (#423)
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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), |
