diff --git a/website-build/serve.sh b/website-build/serve.sh index a826c69..8b53545 100755 --- a/website-build/serve.sh +++ b/website-build/serve.sh @@ -18,12 +18,14 @@ set -e usage() { - echo "$0 [PORT]" + progname="$1" + + echo "${progname} [PORT]" exit 1 } if [ $# -ne 1 ] && [ $# -ne 2 ] ; then - usage + usage "serve.sh" fi basedir="$(dirname $(realpath $0))"