deploy.sh prend un argument verbose ou debug (-v ou -vvv)

This commit is contained in:
southerntofu 2020-04-17 11:47:11 +00:00
parent eecfba39bb
commit d1a26965f1
1 changed files with 4 additions and 1 deletions

View File

@ -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