Change 'neccessary' to 'necessary'

License: MIT
Signed-off-by: Jordan Danford <jordandanford@gmail.com>
This commit is contained in:
Jordan Danford 2017-05-24 09:40:53 -07:00
parent e61e4d24f8
commit c9e20dd907
2 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ check_at_least_version() {
# if the second dot doesn't match, we consider it a prerelease
if MIN_MIN=$(expr "$MIN_VERS" : "[^.]*\.\([0-9]\+\)"); then
# this captured digit is neccessary, since expr returns code 1 if the output is empty
# this captured digit is necessary, since expr returns code 1 if the output is empty
if expr "$MIN_VERS" : "[^.]*\.[0-9]*\([0-9]\.\|[0-9]\$\)" >/dev/null; then
MIN_PRERELEASE="0"
else
@ -48,7 +48,7 @@ check_at_least_version() {
MIN_FIX="0"
fi
if CUR_MIN=$(expr "$CUR_VERS" : "[^.]*\.\([0-9]\+\)"); then
# this captured digit is neccessary, since expr returns code 1 if the output is empty
# this captured digit is necessary, since expr returns code 1 if the output is empty
if expr "$CUR_VERS" : "[^.]*\.[0-9]*\([0-9]\.\|[0-9]\$\)" >/dev/null; then
CUR_PRERELEASE="0"
else

View File

@ -247,7 +247,7 @@ var configReplaceCmd = &cmds.Command{
Helptext: cmds.HelpText{
Tagline: "Replace the config with <file>.",
ShortDescription: `
Make sure to back up the config file first if neccessary, as this operation
Make sure to back up the config file first if necessary, as this operation
can't be undone.
`,
},