Skip to content

Commit 39b4324

Browse files
committed
docs: fix documentation about source/mode
1 parent 885fec0 commit 39b4324

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/misspell/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ func main() {
113113
format = flag.String("f", "", "'csv', 'sqlite3' or custom Golang template for output")
114114
ignores = flag.String("i", "", "ignore the following corrections, comma separated")
115115
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'")
116-
mode = flag.String("source", "text", "Source mode: text (default), go")
116+
mode = flag.String("source", "text", "Source mode: text (default), go (comments only)")
117117
debugFlag = flag.Bool("debug", false, "Debug matching, very slow")
118118
exitError = flag.Bool("error", false, "Exit with 2 if misspelling found")
119119
showVersion = flag.Bool("v", false, "Show version and exit")

0 commit comments

Comments
 (0)