diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2023-03-04 00:08:11 +0100 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2023-03-04 00:08:11 +0100 |
| commit | 0723310ff7584caf6b86b3500f94925d921cf02c (patch) | |
| tree | 2cdbbe70e1835b2ec35dd316d09ec9bf778c247e /xtask/src | |
| parent | f03aede2f5a926bdb26d052766492c32454a60dd (diff) | |
xtask: Book: Allow fully custom arguments
Diffstat (limited to 'xtask/src')
| -rw-r--r-- | xtask/src/command.rs | 3 |
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 { |
