Added usage info to dump_trace, and credit for the code (eselect authors)
authorBrian Harring <ferringb@gentoo.org>
Mon, 23 Jan 2006 07:55:15 +0000 (07:55 -0000)
committerBrian Harring <ferringb@gentoo.org>
Mon, 23 Jan 2006 07:55:15 +0000 (07:55 -0000)
svn path=/main/trunk/; revision=2574

bin/ebuild.sh

index ddef536d2f88b801b09b9e5ff8ace284c6e05f0d..467e796db7142975e76a11e54e758bc504577110 100755 (executable)
@@ -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