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.`)