Skip to content

Commit

Permalink
add example invocation for example command
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-codecov committed Apr 25, 2024
1 parent 8467210 commit 2adb8ab
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/parse_pyreport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ use codecov_rs::parsers::pyreport_shim::parse_pyreport;
fn usage_error() -> ! {
println!("Usage:");
println!(" cargo run --example parse_pyreport -- [REPORT_JSON_PATH] [CHUNKS_PATH] [OUT_PATH]");
println!("");
println!("Example:");
println!(" cargo run --example parse_pyreport -- tests/common/sample_data/codecov-rs-reports-json-d2a9ba1.txt tests/common/sample_data/codecov-rs-chunks-d2a9ba1.txt d2a9ba1.sqlite");

std::process::exit(1);
}
Expand Down

0 comments on commit 2adb8ab

Please sign in to comment.