From 74c5e8c785daafa40a38382ab44989d8bcdecf7a Mon Sep 17 00:00:00 2001 From: gustav-fff <286169375+gustav-fff@users.noreply.github.com> Date: Mon, 10 Aug 2026 11:05:43 -0700 Subject: [PATCH] fix: add missing clap attribute to no_content_indexing (#754) The no_content_indexing field lacked its #[arg(long = ...)] attribute, so clap treated it as a positional with a SetTrue action. Debug builds panicked on any invocation; release builds exposed [NO_CONTENT_INDEXING] as a positional and rejected --no-content-indexing. Closes #754 --- crates/fff-mcp/src/main.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/fff-mcp/src/main.rs b/crates/fff-mcp/src/main.rs index 46d795646..521d44e19 100644 --- a/crates/fff-mcp/src/main.rs +++ b/crates/fff-mcp/src/main.rs @@ -131,6 +131,7 @@ pub(crate) struct Args { /// Disable the content index built after the initial scan. /// This makes grep calls slower but consumes less RAM (recommended to not turn off) + #[arg(long = "no-content-indexing")] no_content_indexing: bool, /// Explicitly enable content indexing even when `--no-warmup` is set.