diff options
| author | sigoden <sigoden@gmail.com> | 2024-04-10 20:36:12 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-10 20:36:12 +0800 |
| commit | 4a5ee3ecb793362228a88f8c1609bd830eb88cc1 (patch) | |
| tree | 82ee7de941ed58ad771f1f141019e124c6b51827 /src/repl/mod.rs | |
| parent | a0bd6e1d5d68c718a0533037364e3df9ad13da96 (diff) | |
| download | aichat-4a5ee3ecb793362228a88f8c1609bd830eb88cc1.tar.gz | |
feat: `-f/--file` take one value and no enter REPL (#399)
Diffstat (limited to 'src/repl/mod.rs')
| -rw-r--r-- | src/repl/mod.rs | 2 |
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") => { |
