Skip to content

Commit

Permalink
Display the --preview option in the CLI help menu
Browse files Browse the repository at this point in the history
  • Loading branch information
zanieb committed Sep 11, 2023
1 parent 6566d00 commit 7f5b574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/ruff_cli/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7f5b574

Please sign in to comment.