Change flags to use dashes in help
This commit is contained in:
@@ -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 != "" {
|
||||
|
||||
Reference in New Issue
Block a user