diff --git a/packages/nx/src/command-line/nx-commands.ts b/packages/nx/src/command-line/nx-commands.ts index 2c20ceb1bed7a..92fb3257ab365 100644 --- a/packages/nx/src/command-line/nx-commands.ts +++ b/packages/nx/src/command-line/nx-commands.ts @@ -25,7 +25,8 @@ yargs.wrap(yargs.terminalWidth()); export const commandsObject = yargs .parserConfiguration({ 'strip-dashed': true, - 'dot-notation': false, + // allow parsing --env.SOME_ARG for cypress cli env args + 'dot-notation': true, }) .usage( `