diff --git a/crates/ruff_workspace/src/options.rs b/crates/ruff_workspace/src/options.rs index a6b0cdd9ba..03a2d58524 100644 --- a/crates/ruff_workspace/src/options.rs +++ b/crates/ruff_workspace/src/options.rs @@ -2763,7 +2763,11 @@ pub struct PylintOptions { /// (see: `PLR0917`). /// /// If not specified, defaults to the value of `max-args`. - #[option(default = r"3", value_type = "int", example = r"max-pos-args = 3")] + #[option( + default = r"3", + value_type = "int", + example = r"max-positional-args = 3" + )] pub max_positional_args: Option, /// Maximum number of local variables allowed for a function or method body (see: