Skip to content

Commit

Permalink
fix error message when docs out of date (WebAssembly#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pat Hickey authored Mar 13, 2020
1 parent ebe85c7 commit aa8066c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/witx/tests/wasi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,9 @@ fn diff_against_filesystem(expected: &str, path: &Path) {
}

eprintln!();
eprintln!("To regenerate the files, run `cd tools/witx && cargo run -- repo-docs`.");
eprintln!(
"To regenerate the files, run `cd tools/witx && cargo run --example witx repo-docs`."
);
eprintln!();
panic!();
}

0 comments on commit aa8066c

Please sign in to comment.