deploy.sh: improve error logging

parent f0bb0d4e
...@@ -50,6 +50,7 @@ do ...@@ -50,6 +50,7 @@ do
chownRoot=$1 chownRoot=$1
;; ;;
*) *)
echo "unexpected argument '$1'"
echo "usage: $0 [--debug] [--tls] [--nomad-root <pathToNomadRoot>] [--chown-root <pathForPrometheusVolumes>] [--env <NODE_ENV_VALUE>] [--update-docker] [--no-deploy-scripts] [--target-hostname hostname] [--secret-web-certs <secretName>] [--always-pull] [--no-push] [--update-base-version]" echo "usage: $0 [--debug] [--tls] [--nomad-root <pathToNomadRoot>] [--chown-root <pathForPrometheusVolumes>] [--env <NODE_ENV_VALUE>] [--update-docker] [--no-deploy-scripts] [--target-hostname hostname] [--secret-web-certs <secretName>] [--always-pull] [--no-push] [--update-base-version]"
echo echo
echo "Env variables: NODE_ENV, target_hostname, nomadRoot, nomadRootContainer" echo "Env variables: NODE_ENV, target_hostname, nomadRoot, nomadRootContainer"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment