Skip to content

Commit

Permalink
docs: fix documentation about source/mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Dec 20, 2023
1 parent 885fec0 commit 39b4324
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/misspell/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ func main() {
format = flag.String("f", "", "'csv', 'sqlite3' or custom Golang template for output")
ignores = flag.String("i", "", "ignore the following corrections, comma separated")
locale = flag.String("locale", "", "Correct spellings using locale preferences for US or UK. Default is to use a neutral variety of English. Setting locale to US will correct the British spelling of 'colour' to 'color'")
mode = flag.String("source", "text", "Source mode: text (default), go")
mode = flag.String("source", "text", "Source mode: text (default), go (comments only)")
debugFlag = flag.Bool("debug", false, "Debug matching, very slow")
exitError = flag.Bool("error", false, "Exit with 2 if misspelling found")
showVersion = flag.Bool("v", false, "Show version and exit")
Expand Down

0 comments on commit 39b4324

Please sign in to comment.