diff --git a/docs/generated/cli/exec.md b/docs/generated/cli/exec.md index 804de6fd12b0b..31360eccf5a84 100644 --- a/docs/generated/cli/exec.md +++ b/docs/generated/cli/exec.md @@ -79,12 +79,6 @@ Default: `false` Rerun the tasks even when the results are available in the cache -### targets - -Type: `string` - -Tasks to run for affected projects - ### verbose Type: `boolean` diff --git a/docs/generated/packages/nx/documents/exec.md b/docs/generated/packages/nx/documents/exec.md index 804de6fd12b0b..31360eccf5a84 100644 --- a/docs/generated/packages/nx/documents/exec.md +++ b/docs/generated/packages/nx/documents/exec.md @@ -79,12 +79,6 @@ Default: `false` Rerun the tasks even when the results are available in the cache -### targets - -Type: `string` - -Tasks to run for affected projects - ### verbose Type: `boolean` diff --git a/packages/nx/src/command-line/nx-commands.ts b/packages/nx/src/command-line/nx-commands.ts index 15c7b37f9f645..3f93d1b06e767 100644 --- a/packages/nx/src/command-line/nx-commands.ts +++ b/packages/nx/src/command-line/nx-commands.ts @@ -731,7 +731,7 @@ function withRunOneOptions(yargs: yargs.Argv) { ); const res = withRunOptions( - withOutputStyleOption(withTargetAndConfigurationOption(yargs, false), [ + withOutputStyleOption(withConfiguration(yargs), [ 'dynamic', 'static', 'stream',