From 0483bbe16ff7530c7c17510421d71b9a43f77926 Mon Sep 17 00:00:00 2001 From: Olivier Grand Date: Wed, 19 Jun 2024 19:08:13 +0200 Subject: [PATCH] fix display --- tools/log-bosh.sh | 2 +- tools/switch.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/log-bosh.sh b/tools/log-bosh.sh index 7d2aa4a..553ed0e 100755 --- a/tools/log-bosh.sh +++ b/tools/log-bosh.sh @@ -119,7 +119,7 @@ if [ ${flagError} = 0 ] ; then if [ ${flagError} = 0 ] ; then if [ ${flag_interactive} = 1 ] ; then deployments="$(bosh deployments --json | jq -r '.Tables[].Rows[].name' | pr -3t -W 130)" - printf "\n%bSelect a deployment, or suffix your bosh commands with -d :%b\n\n%s" "${REVERSE}${GREEN}" "${STD}" "${deployments}" + printf "\n%bSelect a deployment, or suffix your bosh commands with -d :%b\n%s" "${REVERSE}${GREEN}" "${STD}" "${deployments}" printf "\n\n%bYour choice ( to select all) :%b " "${GREEN}${BOLD}" "${STD}" ; read BOSH_DEPLOYMENT if [ "${BOSH_DEPLOYMENT}" = "" ] ; then diff --git a/tools/switch.sh b/tools/switch.sh index ec80c71..9f71cdf 100755 --- a/tools/switch.sh +++ b/tools/switch.sh @@ -18,7 +18,7 @@ else bosh instances fi else - printf "\n%bSelect a deployment :%b\n\n%s" "${REVERSE}${GREEN}" "${STD}" "${deployments}" + printf "\n%bSelect a deployment :%b\n%s" "${REVERSE}${GREEN}" "${STD}" "${deployments}" printf "\n\n%bYour choice ( to select all) :%b " "${GREEN}${BOLD}" "${STD}" ; read choice if [ "${choice}" = "" ] ; then unset BOSH_DEPLOYMENT