diff --git a/packages/nx/src/command-line/nx-commands.ts b/packages/nx/src/command-line/nx-commands.ts index bba294a538..a359bb449a 100644 --- a/packages/nx/src/command-line/nx-commands.ts +++ b/packages/nx/src/command-line/nx-commands.ts @@ -438,6 +438,7 @@ function withAffectedOptions(yargs: yargs.Argv): yargs.Argv { .options('configuration', { describe: 'This is the configuration to use when performing tasks on projects', + alias: 'c', type: 'string', }) .options('only-failed', { @@ -498,6 +499,7 @@ function withRunManyOptions(yargs: yargs.Argv): yargs.Argv { .options('configuration', { describe: 'This is the configuration to use when performing tasks on projects', + alias: 'c', type: 'string', }) .options('only-failed', {