Update cli.go

This commit is contained in:
Adrien Delorme 2020-05-12 12:07:02 +02:00
parent 49c2a8cb17
commit 77297e49e9
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,7 @@ type FixArgs struct {
}
func (va *ValidateArgs) AddFlagSets(flags *flag.FlagSet) {
flags.BoolVar(&va.SyntaxOnly, "syntax-only", true, "")
flags.BoolVar(&va.SyntaxOnly, "syntax-only", false, "check syntax only")
va.MetaArgs.AddFlagSets(flags)
}