Adjust output formatting

This commit is contained in:
Joe
2021-04-30 21:43:40 -05:00
parent 044f63a10a
commit 8f71fce660
5 changed files with 15 additions and 22 deletions
+3 -3
View File
@@ -122,8 +122,8 @@ function label {
LOG "All image labels:"$'\n'"$(docker image inspect "$image" | jq '.[0].Config.Labels' | sed 's_^_ _' )"
# Remind user to push image
echo " [*] Rebuilt image '$image' to add $foundcount labels"
echo " [*] Run 'docker push $image' to push it to your container repository"
echo " ** Rebuilt image '$image' to add $foundcount labels"
echo " ** Run 'docker push $image' to push it to your container repository"
}
function delete_files {
@@ -133,7 +133,7 @@ function delete_files {
export verbose=1
function LOG {
[ $verbose ] && >&2 echo -e "$(tput setaf 4) ==> $@$(tput sgr0)"
[ $verbose ] && >&2 echo -e "$(tput setaf 4) => $@$(tput sgr0)"
}
# Export functions used in subshells