From b8c729b06a91007054d4cb900cb772f6338a6fd6 Mon Sep 17 00:00:00 2001 From: Ahmet Sezen <101647922+acsezen@users.noreply.github.com> Date: Fri, 13 Mar 2026 00:12:10 +0100 Subject: [PATCH] fix: replace unsupported --version flag with -help in codemap setup skill codemap (Go binary) doesn't implement --version flag. Go's flag package exits with code 2 on undefined flags. Use -help for detection and `codemap .` for verification instead. --- plugins/mcp/skills/setup-codemap-cli/SKILL.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/plugins/mcp/skills/setup-codemap-cli/SKILL.md b/plugins/mcp/skills/setup-codemap-cli/SKILL.md index acd8db3..73e3208 100644 --- a/plugins/mcp/skills/setup-codemap-cli/SKILL.md +++ b/plugins/mcp/skills/setup-codemap-cli/SKILL.md @@ -35,7 +35,7 @@ Store the user's choice and use the appropriate paths in subsequent steps. ## 2. Check if Codemap is already installed -Check whether codemap is installed by running `codemap --version` or `codemap --help`. +Check whether codemap is installed by running `codemap -help`. If not installed, proceed with setup. @@ -65,7 +65,6 @@ scoop install codemap After installation, verify codemap works: ```bash -codemap --version codemap . ``` @@ -241,4 +240,4 @@ codemap --diff ] } } -``` \ No newline at end of file +```