Change flags to use dashes in help

This commit is contained in:
Tim Hockin
2015-04-23 23:10:33 -07:00
parent 6694eff020
commit a3d45fada8
40 changed files with 164 additions and 163 deletions

View File

@@ -55,7 +55,7 @@ func isYAML(data []byte) bool {
func main() {
runtime.GOMAXPROCS(runtime.NumCPU())
flag.Commandline.SetWordSeparators([]string{"-", "_"})
flag.CommandLine.SetWordSeparators([]string{"-", "_"})
flag.Parse()
if *rewrite != "" {