mirror of
https://github.com/astral-sh/ruff
synced 2026-01-07 14:44:17 -05:00
Display the --preview option in the CLI help menu (#7274)
If we're going to warn on use of NURSERY in #7210 we probably ought to show the `--preview` option in our help menus.
This commit is contained in:
@@ -116,7 +116,7 @@ pub struct CheckCommand {
|
||||
#[arg(long, value_enum)]
|
||||
pub target_version: Option<PythonVersion>,
|
||||
/// Enable preview mode; checks will include unstable rules and fixes.
|
||||
#[arg(long, overrides_with("no_preview"), hide = true)]
|
||||
#[arg(long, overrides_with("no_preview"))]
|
||||
preview: bool,
|
||||
#[clap(long, overrides_with("preview"), hide = true)]
|
||||
no_preview: bool,
|
||||
|
||||
Reference in New Issue
Block a user