summaryrefslogtreecommitdiffstats
path: root/src/repl
diff options
context:
space:
mode:
authorNicola Coretti <nico.coretti@gmail.com>2024-01-13 01:18:04 +0100
committerGitHub <noreply@github.com>2024-01-13 08:18:04 +0800
commit4e99df4c1bd4028a77251bdb00ff23c664372b5f (patch)
treec107a1d965e377508bc26aba484719da561db443 /src/repl
parent665f7ff4b94310a1b47c981d62d1b67d4cd91bfc (diff)
downloadaichat-4e99df4c1bd4028a77251bdb00ff23c664372b5f.tar.gz
fix: deprecation warning of .read command (#296)
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 6e36e59..719ef3a 100644
--- a/src/repl/mod.rs
+++ b/src/repl/mod.rs
@@ -211,7 +211,7 @@ impl Repl {
.with_context(|| "Failed to copy the last output")?;
}
".read" => {
- println!(r#"Deprecated. Use '.read' instead."#);
+ println!(r#"Deprecated. Use '.file' instead."#);
}
".file" => match args {
Some(args) => {