From a4dc6512959e44503c9416f5a66d42998e0c172a Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Mon, 2 Dec 2024 23:20:28 +0100 Subject: [PATCH] chore: set --lcov-version default to 1 --- crates/forge/bin/cmd/coverage.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/forge/bin/cmd/coverage.rs b/crates/forge/bin/cmd/coverage.rs index 9178c27bea5f..753d4ec76771 100644 --- a/crates/forge/bin/cmd/coverage.rs +++ b/crates/forge/bin/cmd/coverage.rs @@ -48,10 +48,9 @@ pub struct CoverageArgs { /// /// Main differences: /// - `1.x`: The original v1 format. - /// - `2.0`: Adds support for "line end" numbers for functions. LCOV 2.1 and onwards may emit - /// an error if this option is not provided. + /// - `2.0`: Adds support for "line end" numbers for functions. /// - `2.2`: Changes the format of functions. - #[arg(long, default_value = "1.16", value_parser = parse_lcov_version)] + #[arg(long, default_value = "1", value_parser = parse_lcov_version)] lcov_version: Version, /// Enable viaIR with minimum optimization