提交 c9e20dd9 作者: Jordan Danford

Change 'neccessary' to 'necessary'

License: MIT
Signed-off-by: 's avatarJordan Danford <jordandanford@gmail.com>
上级 e61e4d24
......@@ -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
......
......@@ -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.
`,
},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论