We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c35b91 commit 85499e5Copy full SHA for 85499e5
build.rs
@@ -16,13 +16,15 @@ fn main() {
16
17
for command in COMMANDS {
18
if let Err(err) = generate_man_page(&outdir, command) {
19
- panic!("failed to generate man page: {}", err);
+ println!(
20
+ "failed to generate man page: {} (is asciidoctor installed?)",
21
+ err
22
+ );
23
}
24
25
26
27
fn generate_man_page<P: AsRef<Path>>(outdir: P, command: &str) -> io::Result<()> {
- // If asciidoctor isn't installed, fallback to asciidoc.
28
if let Err(err) = process::Command::new("asciidoctor").output() {
29
eprintln!("Error from running 'asciidoctor': {}", err);
30
return Err(err);
0 commit comments