From 662d7432ff9c7f7d3a2c5a8e91d11b1df7eb7ac8 Mon Sep 17 00:00:00 2001 From: The-Kid-Gid Date: Thu, 3 Sep 2020 22:12:44 -0400 Subject: [PATCH] Fix some misspelled words in the project --- README.md | 2 +- cmd/misspell/main.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5b68af0..3a0aecc 100644 --- a/README.md +++ b/README.md @@ -57,7 +57,7 @@ Usage of misspell: -legal Show legal information and exit -locale string - Correct spellings using locale perferances 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' + 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' -o string output file or [stderr|stdout|] (default "stdout") -q Do not emit misspelling output diff --git a/cmd/misspell/main.go b/cmd/misspell/main.go index 174d79d..c87d2c2 100644 --- a/cmd/misspell/main.go +++ b/cmd/misspell/main.go @@ -106,7 +106,7 @@ func main() { outFlag = flag.String("o", "stdout", "output file or [stderr|stdout|]") 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 perferances 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'") + 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", "auto", "Source mode: auto=guess, go=golang source, text=plain or markdown-like text") debugFlag = flag.Bool("debug", false, "Debug matching, very slow") exitError = flag.Bool("error", false, "Exit with 2 if misspelling found")