From 4727ceb98313b56edae9598ce0855ac231216504 Mon Sep 17 00:00:00 2001 From: Philippe Serhal Date: Thu, 23 Jan 2025 15:23:30 -0500 Subject: [PATCH] fix: fix env:import options - `-r` was already used globally so this was being ignored - the camelCase version was using the same short option as the kebab-case, which isn't allowed --- src/commands/env/env.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/env/env.ts b/src/commands/env/env.ts index ac7e1a361e4..2c6de5f9e4b 100644 --- a/src/commands/env/env.ts +++ b/src/commands/env/env.ts @@ -39,14 +39,14 @@ export const createEnvCommand = (program: BaseCommand) => { .argument('', '.env file to import') .addOption( new Option( - '-r --replaceExisting', + '--replaceExisting', 'Old, prefer --replace-existing. Replace all existing variables instead of merging them with the current ones', ) .default(false) .hideHelp(true), ) .option( - '-r, --replace-existing', + '-R, --replace-existing', 'Replace all existing variables instead of merging them with the current ones', false, )