summaryrefslogtreecommitdiffstats
path: root/src/repl/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/repl/mod.rs')
-rw-r--r--src/repl/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/repl/mod.rs b/src/repl/mod.rs
index e151745..5c48b1b 100644
--- a/src/repl/mod.rs
+++ b/src/repl/mod.rs
@@ -413,9 +413,10 @@ impl Repl {
}
fn banner(&self) {
+ let name = env!("CARGO_CRATE_NAME");
let version = env!("CARGO_PKG_VERSION");
print!(
- r#"Welcome to aichat {version}
+ r#"Welcome to {name} {version}
Type ".help" for additional help.
"#
)