xtask: Book: Allow fully custom arguments

This commit is contained in:
Henrik Tjäder 2023-03-04 00:08:11 +01:00
parent f03aede2f5
commit 0723310ff7

View file

@ -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
}
CargoCommand::Format {