From 2adb8ab906e7482ed2d7e79b643f9c2f079f8131 Mon Sep 17 00:00:00 2001 From: Matt Hammerly Date: Thu, 25 Apr 2024 11:31:18 -0700 Subject: [PATCH] add example invocation for example command --- examples/parse_pyreport.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/parse_pyreport.rs b/examples/parse_pyreport.rs index 6c2d28a..26fb40d 100644 --- a/examples/parse_pyreport.rs +++ b/examples/parse_pyreport.rs @@ -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); }