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.13
  • 3.14
  • --quiet, -q

    Use quiet output (or -qq for silent output)

    -
    --respect-ignore-files

    Respect file exclusions via .gitignore and other standard ignore files. Use --no-respect-gitignore to disable

    +
    --respect-ignore-files

    Respect file exclusions via .gitignore and other standard ignore files. Use --no-respect-ignore-files to disable

    --typeshed, --custom-typeshed-dir path

    Custom directory to use for stdlib typeshed stubs

    --verbose, -v

    Use verbose output (or -vv and -vvv for more verbose output)

    --warn rule

    Treat 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"),