diff --git a/build-mg.sh b/build-mg.sh index cfe8a6b7..54e209f4 100755 --- a/build-mg.sh +++ b/build-mg.sh @@ -18,7 +18,7 @@ CMAKE_ONLY=0 MAKE_ONLY=0 CLANG_FORCED=0 -while getopts "c:m:n:f:" option; do +while getopts "c:m:n:f:h" option; do case "${option}" in c) CPU_COUNT=${OPTARG} @@ -37,6 +37,18 @@ while getopts "c:m:n:f:" option; do CLANG_FORCED=${OPTARG} # echo "${option} value: ${OPTARG}" ;; + h) + echo "Usage: $0