Skip to content

Commit

Permalink
binaries - fixed colors were replaced during compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
fchastanet committed Dec 6, 2023
1 parent e8c1870 commit 69d616f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bin/upgradeGithubRelease
Original file line number Diff line number Diff line change
Expand Up @@ -1634,12 +1634,12 @@ upgradeGithubReleaseCommand() {
echo -e " ${__HELP_OPTION_COLOR}--exact-version${__HELP_NORMAL}, ${__HELP_OPTION_COLOR}-e <exactVersion>${__HELP_NORMAL} {single}"
local -a helpArray
# shellcheck disable=SC2054
helpArray=($'if provided and currently installed binary is not this [2;97mexactVersion[0m,\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 <minimalVersion>${__HELP_NORMAL} {single}"
local -a helpArray
# shellcheck disable=SC2054
helpArray=($'if provided and currently installed binary is below this [2;97mminimalVersion[0m,\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}"
Expand Down
4 changes: 2 additions & 2 deletions src/_binaries/Git/testsData/upgradeGithubRelease.help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@
version you currently have, see examples below.
See options constraints below.
--exact-version, -e <exactVersion> {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 <minimalVersion> {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.
Expand Down
4 changes: 2 additions & 2 deletions src/_binaries/Git/upgradeGithubRelease.options.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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.' \
Expand All @@ -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 \
Expand Down

0 comments on commit 69d616f

Please sign in to comment.