From: Brian Harring Date: Mon, 23 Jan 2006 07:55:15 +0000 (-0000) Subject: Added usage info to dump_trace, and credit for the code (eselect authors) X-Git-Tag: v2.1_pre4~20 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1838327ba2c4f0da99fbfda8c3b01420022f4d1a;p=portage.git Added usage info to dump_trace, and credit for the code (eselect authors) svn path=/main/trunk/; revision=2574 --- diff --git a/bin/ebuild.sh b/bin/ebuild.sh index ddef536d2..467e796db 100755 --- a/bin/ebuild.sh +++ b/bin/ebuild.sh @@ -285,6 +285,9 @@ diefunc() { } dump_trace() { + # usage- first arg is the number of funcs on the stack to ignore. + # defaults to 1 (ignoring dump_trace) + # pulled from eselect. local skip funcname sourcefile lineno if [[ -n $1 ]]; then declare -i skip=$1