From 69d616fda4f9ecf48c8d332c15bcd34ae9a0d038 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Chastanet?= Date: Wed, 6 Dec 2023 01:09:53 +0100 Subject: [PATCH] binaries - fixed colors were replaced during compilation --- bin/upgradeGithubRelease | 4 ++-- src/_binaries/Git/testsData/upgradeGithubRelease.help.txt | 4 ++-- src/_binaries/Git/upgradeGithubRelease.options.tpl | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/upgradeGithubRelease b/bin/upgradeGithubRelease index ac8f142d..20e4b8b1 100755 --- a/bin/upgradeGithubRelease +++ b/bin/upgradeGithubRelease @@ -1634,12 +1634,12 @@ upgradeGithubReleaseCommand() { echo -e " ${__HELP_OPTION_COLOR}--exact-version${__HELP_NORMAL}, ${__HELP_OPTION_COLOR}-e ${__HELP_NORMAL} {single}" local -a helpArray # shellcheck disable=SC2054 - helpArray=($'if provided and currently installed binary is not this exactVersion,\n This exact version of the binary will be installed.\n See options constraints below.') + helpArray=($'if provided and currently installed binary is not this exactVersion,\n This exact version of the binary will be installed.\n See options constraints below.') echo -e " $(Array::wrap " " 76 4 "${helpArray[@]}")" echo -e " ${__HELP_OPTION_COLOR}--minimal-version${__HELP_NORMAL}, ${__HELP_OPTION_COLOR}-m ${__HELP_NORMAL} {single}" local -a helpArray # shellcheck disable=SC2054 - helpArray=($'if provided and currently installed binary is below this minimalVersion,\na new version of the binary will be installed.\nIf this argument is not provided, the latest binary is unconditionally downloaded from github.\nSee options constraints below.') + helpArray=($'if provided and currently installed binary is below this minimalVersion,\na new version of the binary will be installed.\nIf this argument is not provided, the latest binary is unconditionally downloaded from github.\nSee options constraints below.') echo -e " $(Array::wrap " " 76 4 "${helpArray[@]}")" echo echo -e "${__HELP_TITLE_COLOR}GLOBAL OPTIONS:${__RESET_COLOR}" diff --git a/src/_binaries/Git/testsData/upgradeGithubRelease.help.txt b/src/_binaries/Git/testsData/upgradeGithubRelease.help.txt index 926ec014..a1c8fbd7 100644 --- a/src/_binaries/Git/testsData/upgradeGithubRelease.help.txt +++ b/src/_binaries/Git/testsData/upgradeGithubRelease.help.txt @@ -29,11 +29,11 @@ version you currently have, see examples below. See options constraints below. --exact-version, -e  {single} - if provided and currently installed binary is not this exactVersion, + if provided and currently installed binary is not this exactVersion, This exact version of the binary will be installed. See options constraints below. --minimal-version, -m  {single} - if provided and currently installed binary is below this minimalVersion, + if provided and currently installed binary is below this minimalVersion, a new version of the binary will be installed. If this argument is not provi ded, the latest binary is unconditionally downloaded from github. See options constraints below. diff --git a/src/_binaries/Git/upgradeGithubRelease.options.tpl b/src/_binaries/Git/upgradeGithubRelease.options.tpl index d279efce..11e79954 100644 --- a/src/_binaries/Git/upgradeGithubRelease.options.tpl +++ b/src/_binaries/Git/upgradeGithubRelease.options.tpl @@ -78,7 +78,7 @@ See options constraints below." \ # shellcheck disable=SC2116,SC2016 Options::generateOption \ --help-value-name "minimalVersion" \ - --help 'if provided and currently installed binary is below this ${__HELP_EXAMPLE}minimalVersion${__HELP_NORMAL}, + --help 'if provided and currently installed binary is below this minimalVersion, a new version of the binary will be installed. If this argument is not provided, the latest binary is unconditionally downloaded from github. See options constraints below.' \ @@ -92,7 +92,7 @@ See options constraints below.' \ # shellcheck disable=SC2116,SC2016 Options::generateOption \ --help-value-name "exactVersion" \ - --help 'if provided and currently installed binary is not this ${__HELP_EXAMPLE}exactVersion${__HELP_NORMAL}, + --help 'if provided and currently installed binary is not this exactVersion, This exact version of the binary will be installed. See options constraints below.' \ --group groupVersionManagementFunction \