Skip to content

Commit aa8066c

Browse files
author
Pat Hickey
authored
fix error message when docs out of date (#244)
1 parent ebe85c7 commit aa8066c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tools/witx/tests/wasi.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,9 @@ fn diff_against_filesystem(expected: &str, path: &Path) {
155155
}
156156

157157
eprintln!();
158-
eprintln!("To regenerate the files, run `cd tools/witx && cargo run -- repo-docs`.");
158+
eprintln!(
159+
"To regenerate the files, run `cd tools/witx && cargo run --example witx repo-docs`."
160+
);
159161
eprintln!();
160162
panic!();
161163
}

0 commit comments

Comments
 (0)