go-junit-report icon indicating copy to clipboard operation
go-junit-report copied to clipboard

`flag provided but not defined: -in`

Open justinTM opened this issue 2 years ago • 1 comments

when running command:

go-junit-report -in gotestout.txt -out test/report.xml

got this error:

flag provided but not defined: -in
Usage of go-junit-report:
  -go-version string
    	specify the value to use for the go.version property in the generated XML
  -no-xml-header
    	do not print xml header
  -package-name string
    	specify a package name (compiled test have no package name in output)
  -set-exit-code
    	set exit code to 1 if tests failed
  -version
    	print version
Error: Process completed with exit code 2.

justinTM avatar Oct 10 '23 18:10 justinTM

The -in flag is supported since go-junit-report 2.0.0.

It looks like you're running go-junit-report 1.0.0.

joschi avatar Jun 28 '24 12:06 joschi