Fix typo.

This commit is contained in:
xuri 2018-05-26 21:59:09 +08:00
parent 8dc131dc3f
commit 5b8ffcaf76
No known key found for this signature in database
GPG Key ID: BA5E5BB1C948EDF7

View File

@ -80,7 +80,7 @@ func (e *Executor) initRun() {
runCmd.Flags().IntVar(&lsc.Goconst.MinStringLen, "goconst.min-len",
3, "Goconst: minimum constant string length")
runCmd.Flags().IntVar(&lsc.Goconst.MinOccurrencesCount, "goconst.min-occurrences",
3, "Goconst: minimum occurences of constant string count to trigger issue")
3, "Goconst: minimum occurrences of constant string count to trigger issue")
// Linters config
lc := &e.cfg.Linters