From a62492483c3d5da551cc07466ffbdeb711e47489 Mon Sep 17 00:00:00 2001 From: BeniBenj Date: Wed, 5 Aug 2026 12:13:40 +0200 Subject: [PATCH] Hide unannounced OIDC option from help Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/main.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main.ts b/src/main.ts index 86f2a9d1..d52a24ff 100644 --- a/src/main.ts +++ b/src/main.ts @@ -209,10 +209,9 @@ module.exports = function (argv: string[]): void { ) .option('--azure-credential', 'Use Microsoft Entra ID for authentication') .addOption( - new Option('--oidc', 'Use OpenID Connect trusted publishing for authentication').conflicts([ - 'pat', - 'azureCredential', - ]) + new Option('--oidc', 'Use OpenID Connect trusted publishing for authentication') + .conflicts(['pat', 'azureCredential']) + .hideHelp(true) ) .option('-t, --target ', `Target architectures. Valid targets: ${ValidTargets}`) .option('--ignore-other-target-folders', `Ignore other target folders. Valid only when --target is provided.`)