aboutsummaryrefslogtreecommitdiffstats
path: root/util/parse-backtrace.sh
diff options
context:
space:
mode:
Diffstat (limited to 'util/parse-backtrace.sh')
-rwxr-xr-xutil/parse-backtrace.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/util/parse-backtrace.sh b/util/parse-backtrace.sh
index adf706d..3db96f8 100755
--- a/util/parse-backtrace.sh
+++ b/util/parse-backtrace.sh
@@ -23,7 +23,7 @@ if [ -z "$1" -o "$1" = "-h" -o "$1" = "--help" ]; then
print_help
fi
-while getopts "hf:t:" opt; do
+while getopts "hf:t:p:" opt; do
case $opt in
h)
print_help
@@ -34,6 +34,9 @@ while getopts "hf:t:" opt; do
t)
TRACE="$OPTARG"
;;
+ p)
+ PROGRAM_PATH="$OPTARG"
+ ;;
*)
print_help
;;