From d1a26965f11e2a4900a9065aa07df2aff3c3bda2 Mon Sep 17 00:00:00 2001 From: southerntofu Date: Fri, 17 Apr 2020 11:47:11 +0000 Subject: [PATCH] deploy.sh prend un argument verbose ou debug (-v ou -vvv) --- deploy.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 5bb51cf..fda9e39 100755 --- a/deploy.sh +++ b/deploy.sh @@ -28,9 +28,12 @@ for arg in "$@"; do if [[ $arg = "check" ]]; then CMD="$CMD --syntax-check" fi - if [[ $arg = "debug" ]]; then + if [[ $arg = "debug" ]] || [[ $arg = "-vvv" ]]; then CMD="$CMD -vvv" fi + if [[ $arg = "verbose" ]] || [[ $arg = "-v" ]]; then + CMD="$CMD -v" + fi done if [[ $REMOTE = false ]]; then