minor change

This commit is contained in:
Nathaniel Landau
2021-10-22 17:20:16 -04:00
parent 04dd6d76bb
commit 46d7edf726
3 changed files with 9 additions and 6 deletions

View File

@@ -51,7 +51,9 @@ _printArray_() {
[[ $# == 0 ]] && fatal "Missing required argument to ${FUNCNAME[0]}"
local _arrayName="${1}"
declare -n _arr="${1}"
printf "${underline}Printing contents of \${%s${reset}[@]}\n" "${_arrayName}"
for _k in "${!_arr[@]}"; do
printf "%s = %s\n" "$_k" "${_arr[$_k]}"
done