Revision 9178
Added by Aaron Marcuse-Kubitza over 11 years ago
lib/sh/util.sh | ||
---|---|---|
239 | 239 |
local script="$(canon_rel_path "${BASH_SOURCE[1]}")" |
240 | 240 |
echo_cmd "$script:${BASH_LINENO[0]}" "${FUNCNAME[1]}" "$@" |
241 | 241 |
} |
242 |
alias echo_func='echo_func "$@"'
|
|
243 |
alias echo_minor_func='(log++; echo_func)'
|
|
242 |
alias echo_func='{ "echo_func" "$@"; indent; }'
|
|
243 |
alias echo_minor_func='{ (log++; "echo_func"); indent; }'
|
|
244 | 244 |
|
245 | 245 |
## vars |
246 | 246 |
|
Also available in: Unified diff
lib/sh/util.sh: echo_*func aliases: increase the indent for the duration of the function call. this causes function calls to be displayed in an indented call-tree structure, which makes the verbose output much easier to understand.