             let jsonPath = buildParameters.codeCovAsJSONPath(packageName: rootManifest.displayName)
             try exportCodeCovAsJSON(to: jsonPath, testBinary: product.binaryPath, swiftTool: swiftTool)
         }
+
+        if self.options.shouldPrintCodeCovPath {
+            print(buildParameters.codeCovAsJSONPath(packageName: rootManifest.displayName))
+        }
     }
 
     /// Merges all profraw profiles in codecoverage directory into default.profdata file.

    var _deprecated_shouldGenerateLinuxMain: Bool = false

    /// If the path of the exported code coverage JSON should be printed.
    @Flag(name: .customLong("show-codecov-path"),
          help: "Print the path of the exported code coverage JSON file")
    var _deprecated_shouldPrintCodeCovPath: Bool = false

    var testCaseSpecifier: TestCaseSpecifier {
        if !filter.isEmpty {

        version: SwiftVersion.current.completeDisplayString,
        subcommands: [
            List.self,
            GenerateLinuxMain.self
        ],
        helpNames: [.short, .long, .customLong("help", withSingleDash: true)])
