From 0723310ff7584caf6b86b3500f94925d921cf02c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Sat, 4 Mar 2023 00:08:11 +0100 Subject: [PATCH] xtask: Book: Allow fully custom arguments --- xtask/src/command.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xtask/src/command.rs b/xtask/src/command.rs index 42a5cac95e..6e91a527a2 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 {