diff --git a/src/main.rs b/src/main.rs index 90688110f4..3d37075b85 100644 --- a/src/main.rs +++ b/src/main.rs @@ -89,12 +89,13 @@ struct Cli { /// Enable automatic additions of noqa directives to failing lines. #[arg(long)] add_noqa: bool, - /// Enable automatic formatting. - #[arg(long)] - autoformat: bool, /// Regular expression matching the name of dummy variables. #[arg(long)] dummy_variable_rgx: Option, + /// Round-trip auto-formatting. + // TODO(charlie): This should be a sub-command. + #[arg(long, hide = true)] + autoformat: bool, } #[cfg(feature = "update-informer")]