diff --git a/go-junit-report.go b/go-junit-report.go index 531faba..dd7003e 100644 --- a/go-junit-report.go +++ b/go-junit-report.go @@ -55,6 +55,7 @@ func main() { } if flag.NArg() != 0 { + fmt.Fprintf(os.Stderr, "invalid argument(s): %s\n", strings.Join(flag.Args(), " ")) fmt.Fprintf(os.Stderr, "%s does not accept positional arguments\n", os.Args[0]) flag.Usage() exitf("")