diff options
| author | sigoden <sigoden@gmail.com> | 2024-07-21 17:24:04 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-21 17:24:04 +0800 |
| commit | 341f2d994295d1b88bb849d74893d62df610150c (patch) | |
| tree | 565a3631fa6fa3e3fa7f8f2d7e8889a69175536b /src/repl | |
| parent | 17fd7b326097d43a20c7332031bc2f250dd8d4d0 (diff) | |
| download | aichat-341f2d994295d1b88bb849d74893d62df610150c.tar.gz | |
feat: enhance logger (#731)
Diffstat (limited to 'src/repl')
| -rw-r--r-- | src/repl/mod.rs | 3 |
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. "# ) |
