From 25b78d737958bf868cd219205631a00daad89a4d Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Mon, 9 Jul 2018 10:33:04 -0700 Subject: build.sh: provide usage message and exit on unknown arg Signed-off-by: Dirk Hohndel --- scripts/build.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') diff --git a/scripts/build.sh b/scripts/build.sh index fc111769a..406bcbb08 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -69,6 +69,8 @@ while [[ $# -gt 0 ]] ; do ;; *) echo "Unknown command line argument $arg" + echo "Usage: build.sh [-no-bt] [-build-deps] [-build-with-webkit] [-mobile] [-desktop] [-both] [-create-appdir] [-skip-googlemaps] [-release]" + exit 1 ;; esac shift -- cgit v1.2.3-70-g09d2