From 1838327ba2c4f0da99fbfda8c3b01420022f4d1a Mon Sep 17 00:00:00 2001 From: Brian Harring Date: Mon, 23 Jan 2006 07:55:15 +0000 Subject: Added usage info to dump_trace, and credit for the code (eselect authors) svn path=/main/trunk/; revision=2574 --- bin/ebuild.sh | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3-1-g7c22