diff --git a/appveyor.yml b/appveyor.yml index 11d008ca18..0b341ddceb 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -34,7 +34,7 @@ install: if %APPVEYOR_REPO_BRANCH EQU master (cd scripts && sh start.sh -t -ss || exit 1) else - (cd scripts && sh start.sh -d -t -ss -gitjsapi development|| exit 1) + (cd scripts && sh start.sh -dev -t -ss -gitjsapi development|| exit 1) ) # Don't actually build. diff --git a/scripts/npm-clean.sh b/scripts/npm-clean.sh index 94327ba20a..0ac53409cc 100755 --- a/scripts/npm-clean.sh +++ b/scripts/npm-clean.sh @@ -36,7 +36,7 @@ while [[ $1 == -* ]]; do case "$1" in -h|--help|-\?) show_help; exit 0;; -sd|--skipDemo) update; shift;; - -*) shift;; + -*) echo "invalid option: $1" 1>&2; show_help; exit 0;; esac done diff --git a/scripts/start.sh b/scripts/start.sh index c7822d4e49..b8ac0537fe 100755 --- a/scripts/start.sh +++ b/scripts/start.sh @@ -135,7 +135,7 @@ while [[ $1 == -* ]]; do -dist) enable_dist; shift;; -gitjsapi) enable_js_api_git_link $2; shift 2;; -vjsapi) version_js_api $2; shift 2;; - -*) shift;; + -*) echo "invalid option: $1" 1>&2; show_help; exit 0;; esac done