diff --git a/packages/core/adder/options.ts b/packages/core/adder/options.ts index a729ace0..59e47d38 100644 --- a/packages/core/adder/options.ts +++ b/packages/core/adder/options.ts @@ -124,14 +124,10 @@ export function prepareAndParseCliOptions( for (const optionKey of Object.keys(config.options)) { const option = config.options[optionKey]; - let optionString; - if (multipleAdders) { - optionString = `--${config.metadata.id}-${optionKey} [${option.type}]`; - } else { - optionString = `--${optionKey} [${option.type}]`; - } - - program.option(optionString, option.question); + program.option( + `--${config.metadata.id}-${optionKey}, --${optionKey} [${option.type}]`, + option.question + ); } }