From eb811b4ad0854698f1824ceda089393a5b29f0db Mon Sep 17 00:00:00 2001 From: Arthur van de Vondervoort Date: Wed, 29 Apr 2026 13:59:29 +0200 Subject: [PATCH] docs: clarify detect-tfm help text to show both channel and version are accepted MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update bracket text for marketplace and nuget-devtools subcommands: - marketplace: [channel] → [channel|version] - nuget-devtools: [version] → [version|channel] Both commands accept channel keywords (current, latest, prerelease) and specific version numbers, but the help text only communicated one option. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- README.md | 4 ++-- src/cli.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 3c07000..05d18f8 100644 --- a/README.md +++ b/README.md @@ -39,8 +39,8 @@ alcops [args] Commands: detect-tfm bc-artifact Detect TFM from a BC artifact URL - detect-tfm marketplace [channel] Detect TFM from VS Marketplace (default: current) - detect-tfm nuget-devtools [version] Detect TFM from NuGet DevTools (default: latest) + detect-tfm marketplace [channel|version] Detect TFM from VS Marketplace (default: current) + detect-tfm nuget-devtools [version|channel] Detect TFM from NuGet DevTools (default: latest) detect-tfm compiler-path Detect TFM from a local compiler directory download --output Download and extract ALCops analyzers diff --git a/src/cli.ts b/src/cli.ts index 977f076..59ed5b5 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -12,8 +12,8 @@ Usage: alcops [args] Commands: detect-tfm bc-artifact Detect TFM from a BC artifact URL - detect-tfm marketplace [channel] Detect TFM from VS Marketplace (default: current) - detect-tfm nuget-devtools [version] Detect TFM from NuGet DevTools (default: latest) + detect-tfm marketplace [channel|version] Detect TFM from VS Marketplace (default: current) + detect-tfm nuget-devtools [version|channel] Detect TFM from NuGet DevTools (default: latest) detect-tfm compiler-path Detect TFM from a local compiler directory download --output Download and extract ALCops analyzers