diff --git a/cli/internal/core/engine.go b/cli/internal/core/engine.go index f6e3a7a91d42c..8f60154db689d 100644 --- a/cli/internal/core/engine.go +++ b/cli/internal/core/engine.go @@ -345,7 +345,7 @@ func (e *Engine) Prepare(options *EngineBuildingOptions) error { } // Filter down the tasks if there's a filter in place - // https: //turbo.build/repo/docs/reference/command-line-reference#--only + // https: //turbo.build/repo/docs/reference/command-line-reference/run#--only if tasksOnly { deps = deps.Filter(func(d interface{}) bool { for _, target := range taskNames { diff --git a/cli/internal/scope/scope.go b/cli/internal/scope/scope.go index b5ed4e7074949..3615f9e1e142d 100644 --- a/cli/internal/scope/scope.go +++ b/cli/internal/scope/scope.go @@ -62,7 +62,7 @@ var ( _filterHelp = `Use the given selector to specify package(s) to act as entry points. The syntax mirrors pnpm's syntax, and additional documentation and examples can be found in -turbo's documentation https://turbo.build/repo/docs/reference/command-line-reference#--filter +turbo's documentation https://turbo.build/repo/docs/reference/command-line-reference/run#--filter --filter can be specified multiple times. Packages that match any filter will be included.` _ignoreHelp = `Files to ignore when calculating changed files (i.e. --since). Supports globs.` diff --git a/crates/turborepo-lib/src/cli.rs b/crates/turborepo-lib/src/cli.rs index 5d2e25f5437e6..0759c410af1bd 100644 --- a/crates/turborepo-lib/src/cli.rs +++ b/crates/turborepo-lib/src/cli.rs @@ -419,7 +419,7 @@ pub struct RunArgs { /// Use the given selector to specify package(s) to act as /// entry points. The syntax mirrors pnpm's syntax, and /// additional documentation and examples can be found in - /// turbo's documentation https://turbo.build/repo/docs/reference/command-line-reference#--filter + /// turbo's documentation https://turbo.build/repo/docs/reference/command-line-reference/run#--filter #[clap(short = 'F', long, action = ArgAction::Append)] pub filter: Vec, /// Ignore the existing cache (to force execution) diff --git a/packages/turbo-types/src/types/config.ts b/packages/turbo-types/src/types/config.ts index d91a59fdb19a9..2bed8008d3eb6 100644 --- a/packages/turbo-types/src/types/config.ts +++ b/packages/turbo-types/src/types/config.ts @@ -232,7 +232,7 @@ export interface Pipeline { * * "none": Hides all task output * - * Documentation: https://turbo.build/repo/docs/reference/command-line-reference#--output-logs + * Documentation: https://turbo.build/repo/docs/reference/command-line-reference/run#--output-logs * * @default full */ diff --git a/turborepo-tests/integration/tests/no_args.t b/turborepo-tests/integration/tests/no_args.t index 752a6ee9d3ec7..8e23ad70f0430 100644 --- a/turborepo-tests/integration/tests/no_args.t +++ b/turborepo-tests/integration/tests/no_args.t @@ -45,7 +45,7 @@ Make sure exit code is 2 when no args are passed --continue Continue execution even if a task exits with an error or non-zero exit code. The default behavior is to bail --dry-run [] [possible values: text, json] --single-package Run turbo in single-package mode - -F, --filter Use the given selector to specify package(s) to act as entry points. The syntax mirrors pnpm's syntax, and additional documentation and examples can be found in turbo's documentation https://turbo.build/repo/docs/reference/command-line-reference#--filter + -F, --filter Use the given selector to specify package(s) to act as entry points. The syntax mirrors pnpm's syntax, and additional documentation and examples can be found in turbo's documentation https://turbo.build/repo/docs/reference/command-line-reference/run#--filter --force [] Ignore the existing cache (to force execution) [env: TURBO_FORCE=] [possible values: true, false] --framework-inference [] Specify whether or not to do framework inference for tasks [default: true] [possible values: true, false] --global-deps Specify glob of global filesystem dependencies to be hashed. Useful for .env and files diff --git a/turborepo-tests/integration/tests/turbo_help.t b/turborepo-tests/integration/tests/turbo_help.t index 2d20f57e34370..60146595f9c07 100644 --- a/turborepo-tests/integration/tests/turbo_help.t +++ b/turborepo-tests/integration/tests/turbo_help.t @@ -45,7 +45,7 @@ Test help flag --continue Continue execution even if a task exits with an error or non-zero exit code. The default behavior is to bail --dry-run [] [possible values: text, json] --single-package Run turbo in single-package mode - -F, --filter Use the given selector to specify package(s) to act as entry points. The syntax mirrors pnpm's syntax, and additional documentation and examples can be found in turbo's documentation https://turbo.build/repo/docs/reference/command-line-reference#--filter + -F, --filter Use the given selector to specify package(s) to act as entry points. The syntax mirrors pnpm's syntax, and additional documentation and examples can be found in turbo's documentation https://turbo.build/repo/docs/reference/command-line-reference/run#--filter --force [] Ignore the existing cache (to force execution) [env: TURBO_FORCE=] [possible values: true, false] --framework-inference [] Specify whether or not to do framework inference for tasks [default: true] [possible values: true, false] --global-deps Specify glob of global filesystem dependencies to be hashed. Useful for .env and files @@ -112,7 +112,7 @@ Test help flag --continue Continue execution even if a task exits with an error or non-zero exit code. The default behavior is to bail --dry-run [] [possible values: text, json] --single-package Run turbo in single-package mode - -F, --filter Use the given selector to specify package(s) to act as entry points. The syntax mirrors pnpm's syntax, and additional documentation and examples can be found in turbo's documentation https://turbo.build/repo/docs/reference/command-line-reference#--filter + -F, --filter Use the given selector to specify package(s) to act as entry points. The syntax mirrors pnpm's syntax, and additional documentation and examples can be found in turbo's documentation https://turbo.build/repo/docs/reference/command-line-reference/run#--filter --force [] Ignore the existing cache (to force execution) [env: TURBO_FORCE=] [possible values: true, false] --framework-inference [] Specify whether or not to do framework inference for tasks [default: true] [possible values: true, false] --global-deps Specify glob of global filesystem dependencies to be hashed. Useful for .env and files