Commit a1587b03 authored by Michel Memeteau's avatar Michel Memeteau

final : add the -t param in the usage

parent d9279003
...@@ -27,12 +27,12 @@ LOG_LEVEL="${LOG_LEVEL:-6}" # 7 = debug -> 0 = emergency ...@@ -27,12 +27,12 @@ LOG_LEVEL="${LOG_LEVEL:-6}" # 7 = debug -> 0 = emergency
read -r -d '' usage <<-'EOF' read -r -d '' usage <<-'EOF'
-u [arg] URL to process. Required. -u [arg] URL to process. Required.
-a [arg] Application to install. (in the form github.com/indiehosters/wordpress or wordpress in REPO_MODE) -a [arg] Application to install. (in the form github.com/indiehosters/wordpress or wordpress in REPO_MODE)
-t [arg] Checkout a specific tag or branch from the application repo. default to master
-s Start the application right away. -s Start the application right away.
-b Buys the associated domain name. -b Buys the associated domain name.
-i Configure OpenDKIM. -i Configure OpenDKIM.
-c Configures DNS if possible. -c Configures DNS if possible.
-d Enables debug mode -d Enables debug mode
-t Checkout a specific tag or branch
-h This page -h This page
EOF EOF
...@@ -117,7 +117,7 @@ function application () { ...@@ -117,7 +117,7 @@ function application () {
#Define the tag/branch #Define the tag/branch
if [ -z ${arg_t:-} ]; then if [ "${arg_t}" = "1" ]; then
warning "No tag/branch specified, Using master " warning "No tag/branch specified, Using master "
git_tag=master git_tag=master
else else
......
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