Permalink
Browse files

remove duplicate flag.Parse() call

  • Loading branch information...
1 parent 907f691 commit f50086b38e28718ac5dc34559be352828be7b2cd @jmhodges committed Jul 18, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 jsonpp.go
View
@@ -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))

0 comments on commit f50086b

Please sign in to comment.