feat: allow quieter report output

Users should have the option of suppressing headers, which are not always useful when interacting with dokku in a programmatic fashion.
This commit is contained in:
Jose Diaz-Gonzalez
2017-04-21 00:53:35 -06:00
parent fb68a6f4b6
commit 15021d05c9
8 changed files with 8 additions and 8 deletions

View File

@@ -27,7 +27,7 @@ report_single_app() {
)
if [[ -z "$INFO_FLAG" ]]; then
dokku_log_info2 "$APP proxy information"
dokku_log_info2_quiet "$APP proxy information"
for flag in "${flag_map[@]}"; do
key="$(echo "${flag#--}" | cut -f1 -d' ' | tr - ' ')"
dokku_log_verbose "$(printf "%-20s %-25s" "${key^}" "${flag#*: }")"