From: Ilan Peer Date: Sun, 26 Oct 2014 07:06:30 +0000 (-0400) Subject: tests: Add usage() to build.sh X-Git-Tag: hostap_2_4~1210 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6492a9cada42b03c998b02c09434fa9c280646de;p=thirdparty%2Fhostap.git tests: Add usage() to build.sh Signed-off-by: Ilan Peer --- diff --git a/tests/hwsim/build.sh b/tests/hwsim/build.sh index bacbf751e..89a031256 100755 --- a/tests/hwsim/build.sh +++ b/tests/hwsim/build.sh @@ -4,6 +4,12 @@ set -e cd $(dirname $0) +usage() +{ + echo "$0 [-c | --codecov] [-f | --force-config]" + exit 1 +} + use_lcov=0 force_config=0 while [ "$1" != "" ]; do @@ -16,7 +22,7 @@ while [ "$1" != "" ]; do force_config=1 echo "$0: force copy config specified" ;; - * ) exit 1 + * ) usage esac done