aboutsummaryrefslogtreecommitdiff
path: root/xtask/src/command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'xtask/src/command.rs')
-rw-r--r--xtask/src/command.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/xtask/src/command.rs b/xtask/src/command.rs
index 42a5cac..6e91a52 100644
--- a/xtask/src/command.rs
+++ b/xtask/src/command.rs
@@ -290,9 +290,10 @@ impl<'a> CargoCommand<'a> {
}
} else {
// If no argument given, run mdbook build
+ // with default path to book
args.extend_from_slice(&[self.command()]);
+ args.extend_from_slice(&["book/en"]);
}
- args.extend_from_slice(&["book/en"]);
args
}
CargoCommand::Format {