summaryrefslogtreecommitdiffstats
path: root/src/repl
diff options
context:
space:
mode:
authorsigoden <sigoden@gmail.com>2024-04-10 20:36:12 +0800
committerGitHub <noreply@github.com>2024-04-10 20:36:12 +0800
commit4a5ee3ecb793362228a88f8c1609bd830eb88cc1 (patch)
tree82ee7de941ed58ad771f1f141019e124c6b51827 /src/repl
parenta0bd6e1d5d68c718a0533037364e3df9ad13da96 (diff)
downloadaichat-4a5ee3ecb793362228a88f8c1609bd830eb88cc1.tar.gz
feat: `-f/--file` take one value and no enter REPL (#399)
Diffstat (limited to 'src/repl')
-rw-r--r--src/repl/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl/mod.rs b/src/repl/mod.rs
index 339abe4..30be73b 100644
--- a/src/repl/mod.rs
+++ b/src/repl/mod.rs
@@ -234,7 +234,7 @@ impl Repl {
let input = Input::new(text, files, self.config.read().input_context())?;
self.ask(input)?;
}
- None => println!("Usage: .file <files>...[ -- <text>...]"),
+ None => println!("Usage: .file <files>... [-- <text>...]"),
},
".exit" => match args {
Some("role") => {