Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flag provided but not defined: -in #171

Open
justinTM opened this issue Oct 10, 2023 · 1 comment
Open

flag provided but not defined: -in #171

justinTM opened this issue Oct 10, 2023 · 1 comment

Comments

@justinTM
Copy link

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.
@joschi
Copy link

joschi commented Jun 28, 2024

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants