diff --git a/crates/ty/docs/cli.md b/crates/ty/docs/cli.md index d701649dd2..284136af7c 100644 --- a/crates/ty/docs/cli.md +++ b/crates/ty/docs/cli.md @@ -91,7 +91,7 @@ over all configuration files.
3.133.14--quiet, -qUse quiet output (or -qq for silent output)
--respect-ignore-filesRespect file exclusions via .gitignore and other standard ignore files. Use --no-respect-gitignore to disable
--respect-ignore-filesRespect file exclusions via .gitignore and other standard ignore files. Use --no-respect-ignore-files to disable
--typeshed, --custom-typeshed-dir pathCustom directory to use for stdlib typeshed stubs
--verbose, -vUse verbose output (or -vv and -vvv for more verbose output)
--warn ruleTreat the given rule as having severity 'warn'. Can be specified multiple times.
diff --git a/crates/ty/src/args.rs b/crates/ty/src/args.rs index 592b1659d7..33312653a6 100644 --- a/crates/ty/src/args.rs +++ b/crates/ty/src/args.rs @@ -142,7 +142,7 @@ pub(crate) struct CheckCommand { pub(crate) watch: bool, /// Respect file exclusions via `.gitignore` and other standard ignore files. - /// Use `--no-respect-gitignore` to disable. + /// Use `--no-respect-ignore-files` to disable. #[arg( long, overrides_with("no_respect_ignore_files"),