diff --git a/buildscripts/checkdeps.sh b/buildscripts/checkdeps.sh index 90abb0f0..007741b2 100755 --- a/buildscripts/checkdeps.sh +++ b/buildscripts/checkdeps.sh @@ -176,25 +176,25 @@ is_supported_arch() { check_deps() { check_version "$(env go version 2>/dev/null | sed 's/^.* go\([0-9.]*\).*$/\1/')" "${GO_VERSION}" if [ $? -ge 2 ]; then - MISSING="${MISSING} golang(${GO_VERSION})" + MISSING="${MISSING} golang(>=${GO_VERSION})" fi check_version "$(env git --version 2>/dev/null | sed -e 's/^.* \([0-9.\].*\).*$/\1/' -e 's/^\([0-9.\]*\).*/\1/g')" "${GIT_VERSION}" if [ $? -ge 2 ]; then - MISSING="${MISSING} git(${GIT_VERSION})" + MISSING="${MISSING} git(>=${GIT_VERSION})" fi case ${UNAME%% *} in "Linux") check_version "$(env gcc --version 2>/dev/null | sed 's/^.* \([0-9.]*\).*$/\1/' | head -1)" "${GCC_VERSION}" if [ $? -ge 2 ]; then - MISSING="${MISSING} build-essential(${GCC_VERSION})" + MISSING="${MISSING} build-essential(>=${GCC_VERSION})" fi ;; "Darwin") check_version "$(env gcc --version 2>/dev/null | awk '{print $4}' | head -1)" "${CLANG_VERSION}" if [ $? -ge 2 ]; then - MISSING="${MISSING} xcode-cli(${CLANG_VERSION})" + MISSING="${MISSING} xcode-cli(>=${CLANG_VERSION})" fi ;; "*") diff --git a/main.go b/main.go index 6407f8e5..5f72305c 100644 --- a/main.go +++ b/main.go @@ -62,7 +62,7 @@ VERSION: // Function invoked when invalid command is passed. func commandNotFound(ctx *cli.Context, command string) { - msg := fmt.Sprintf("‘%s’ is not a mc command. See ‘mc help’.", command) + msg := fmt.Sprintf("‘%s’ is not a mc command. See ‘mc --help’.", command) closestCommands := findClosestCommands(command) if len(closestCommands) > 0 { msg += fmt.Sprintf("\n\nDid you mean one of these?\n")