diff options
| author | Nicola Coretti <nico.coretti@gmail.com> | 2024-01-13 01:18:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-01-13 08:18:04 +0800 |
| commit | 4e99df4c1bd4028a77251bdb00ff23c664372b5f (patch) | |
| tree | c107a1d965e377508bc26aba484719da561db443 /src | |
| parent | 665f7ff4b94310a1b47c981d62d1b67d4cd91bfc (diff) | |
| download | aichat-4e99df4c1bd4028a77251bdb00ff23c664372b5f.tar.gz | |
fix: deprecation warning of .read command (#296)
Diffstat (limited to 'src')
| -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 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) => { |
