Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove duplicate flag.Parse() call

  • Loading branch information...
commit f50086b38e28718ac5dc34559be352828be7b2cd 1 parent 907f691
@jmhodges authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  jsonpp.go
View
1  jsonpp.go
@@ -92,7 +92,6 @@ func malformedJSON(jsErr error, js []uint8, lineNum int64) {
}
func fileFromArguments() *os.File {
- flag.Parse()
args := flag.Args()
if len(args) > 1 {
msg := fmt.Sprintf("only specify 0 or 1 files in the arguments, not %d\n", len(args))
Please sign in to comment.
Something went wrong with that request. Please try again.