mirror of
https://github.com/balena-io/open-balena.git
synced 2025-04-05 10:09:16 +00:00
Fix order of arguments in start-project script
This commit is contained in:
parent
da87c1efaf
commit
649c1880da
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user