Change 'neccessary' to 'necessary'
License: MIT Signed-off-by: Jordan Danford <jordandanford@gmail.com>
Jordan Danford committed
May 24, 2017 at 09:40 UTC
c9e20dd907ce1c2fb7f374b990a7ed030c2505d6
2 files changed
+3
-3
bin/check_version
+2
-2
@@ -35,7 +35,7 @@ check_at_least_version() {
35
# if the second dot doesn't match, we consider it a prerelease
36
37
if MIN_MIN=$(expr "$MIN_VERS" : "[^.]*\.\([0-9]\+\)"); then
38
- # this captured digit is neccessary, since expr returns code 1 if the output is empty
38
+ # this captured digit is necessary, since expr returns code 1 if the output is empty
39
if expr "$MIN_VERS" : "[^.]*\.[0-9]*\([0-9]\.\|[0-9]\$\)" >/dev/null; then
40
MIN_PRERELEASE="0"
41
else
@@ -48,7 +48,7 @@ check_at_least_version() {
48
MIN_FIX="0"
49
fi
50
if CUR_MIN=$(expr "$CUR_VERS" : "[^.]*\.\([0-9]\+\)"); then
51
- # this captured digit is neccessary, since expr returns code 1 if the output is empty
51
+ # this captured digit is necessary, since expr returns code 1 if the output is empty
52
if expr "$CUR_VERS" : "[^.]*\.[0-9]*\([0-9]\.\|[0-9]\$\)" >/dev/null; then
53
CUR_PRERELEASE="0"
54
else
core/commands/config.go
+1
-1
@@ -247,7 +247,7 @@ var configReplaceCmd = &cmds.Command{
247
Helptext: cmds.HelpText{
248
Tagline: "Replace the config with <file>.",
249
ShortDescription: `
250
-Make sure to back up the config file first if neccessary, as this operation
250
+Make sure to back up the config file first if necessary, as this operation
251
can't be undone.
252
`,
253
},