From 285eeccb84caef3c99ffaa08794e90c42e24da6a Mon Sep 17 00:00:00 2001 From: Diego Reis Date: Thu, 16 Jan 2025 17:55:20 -0300 Subject: [PATCH] Fix cli comments parsing --- cli/app.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cli/app.rs b/cli/app.rs index 082249d8f..25eb43592 100644 --- a/cli/app.rs +++ b/cli/app.rs @@ -434,6 +434,9 @@ impl Limbo { line: &str, rl: &mut rustyline::DefaultEditor, ) -> anyhow::Result<()> { + if line.trim_start().starts_with("--") { + return Ok(()); + } if self.input_buff.is_empty() { if line.is_empty() { return Ok(());