aboutsummaryrefslogtreecommitdiff
path: root/xtask
diff options
context:
space:
mode:
Diffstat (limited to 'xtask')
-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 2657c64..04f2f28 100644
--- a/xtask/src/argument_parsing.rs
+++ b/xtask/src/argument_parsing.rs
@@ -495,7 +495,7 @@ pub enum Commands {
Book(Arg),
}
-#[derive(Args, Debug, Clone)]
+#[derive(Args, Debug, Clone, Default)]
pub struct FormatOpt {
#[clap(flatten)]
pub package: PackageOpt,
@@ -504,7 +504,7 @@ pub struct FormatOpt {
pub check: bool,
}
-#[derive(Args, Debug, Clone)]
+#[derive(Args, Debug, Clone, Default)]
/// Restrict to package, or run on whole workspace
pub struct PackageOpt {
/// For which package/workspace member to operate