From 649c1880daa771c4bd57e51735651b9b869f38e2 Mon Sep 17 00:00:00 2001 From: Akis Kesoglou Date: Tue, 12 Jun 2018 12:15:42 +0300 Subject: [PATCH] Fix order of arguments in start-project script --- scripts/start-project | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/start-project b/scripts/start-project index ef2d38f..10c5844 100755 --- a/scripts/start-project +++ b/scripts/start-project @@ -5,17 +5,17 @@ set -e CMD=$0 DIR=$(dirname "$CMD") -HOST_NAME=${1:-openbalena.local} -PROJECT_NAME=${2:-demo} +PROJECT_NAME=${1:-demo} +HOST_NAME=${2:-openbalena.local} PROJECT_DIR="$(pwd)/${PROJECT_NAME}" CERTS_DIR="${PROJECT_DIR}/certs" usage() { - echo "usage: $0 [HOST_NAME [PROJECT_NAME]]" + echo "usage: $0 [PROJECT_NAME [HOST_NAME]]" echo - echo " HOST_NAME the domain name this deployment will run as, eg. example.com. Default is 'openbalena.local'" echo " PROJECT_NAME a name for the deployment, eg. staging. Default is 'demo'" + echo " HOST_NAME the domain name this deployment will run as, eg. example.com. Default is 'openbalena.local'" echo }