diff options
| author | sigoden <sigoden@gmail.com> | 2023-10-30 10:36:08 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-30 10:36:08 +0800 |
| commit | b3e687943811fd48589d7030122c33c7e9867ec9 (patch) | |
| tree | ecd1d829420f928a7df4a46d7bab0db24cb66755 /src/main.rs | |
| parent | 44ea384ee59fafb76882e1d6687bc4cbc6d61611 (diff) | |
| download | aichat-b3e687943811fd48589d7030122c33c7e9867ec9.tar.gz | |
feat: deprecate prompt, remove `--prompt` and `.prompt` (#176)
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index 6baf198..0d12731 100644 --- a/src/main.rs +++ b/src/main.rs @@ -75,9 +75,6 @@ fn main() -> Result<()> { if cli.no_highlight { config.write().highlight = false; } - if let Some(prompt) = &cli.prompt { - config.write().add_prompt(prompt)?; - } if cli.info { let info = if let Some(session) = &config.read().session { session.info()? |
