aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/argument_parsing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src/argument_parsing.rs')
-rw-r--r--xtask/src/argument_parsing.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/xtask/src/argument_parsing.rs b/xtask/src/argument_parsing.rs
index 7028017..3ee9e34 100644
--- a/xtask/src/argument_parsing.rs
+++ b/xtask/src/argument_parsing.rs
@@ -306,9 +306,9 @@ pub enum Commands {
pub struct FormatOpt {
#[clap(flatten)]
pub package: PackageOpt,
- /// Apply formatting fixes immediately.
+ /// Check-only, do not apply formatting fixes.
#[clap(short, long)]
- pub apply: bool,
+ pub check: bool,
}
#[derive(Args, Debug, Clone)]