From 755a6454f208ea02f69b96cf3e4d9207ece7b773 Mon Sep 17 00:00:00 2001 From: Nicolas Vuillamy Date: Mon, 14 Oct 2024 22:40:26 +0200 Subject: [PATCH] Replace doubling -d on commands (#834) --- CHANGELOG.md | 2 ++ src/commands/hardis/package/version/promote.ts | 2 +- src/commands/hardis/project/deploy/simulate.ts | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 261ed07cb..74fb88d62 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ Note: Can be used with `sfdx plugins:install sfdx-hardis@beta` and docker image `hardisgroupcom/sfdx-hardis@beta` +- 2 hardis commands: rename `-d` into something else when the short option was available twice on the same command + ## [5.2.0] 2024-10-14 - Improve [BUILD & RUN documentation](https://sfdx-hardis.cloudity.com/salesforce-ci-cd-hotfixes/) diff --git a/src/commands/hardis/package/version/promote.ts b/src/commands/hardis/package/version/promote.ts index b51887bfe..a394c911f 100644 --- a/src/commands/hardis/package/version/promote.ts +++ b/src/commands/hardis/package/version/promote.ts @@ -20,7 +20,7 @@ export default class PackageVersionPromote extends SfCommand { public static flags: any = { auto: Flags.boolean({ - char: 'd', + char: 'f', default: false, description: 'Auto-detect which versions of which packages need to be promoted', }), diff --git a/src/commands/hardis/project/deploy/simulate.ts b/src/commands/hardis/project/deploy/simulate.ts index c7de88b64..664ad6d3e 100644 --- a/src/commands/hardis/project/deploy/simulate.ts +++ b/src/commands/hardis/project/deploy/simulate.ts @@ -26,7 +26,7 @@ Used by VsCode Extension`; public static flags: any = { "source-dir": Flags.string({ - char: "d", + char: "f", description: "Source file or directory to simulate the deployment", multiple: true, required: true