Commit 81bf9c62 authored by oharboe's avatar oharboe
Browse files

very slightly improved error message for not being able to find scripts

git-svn-id: svn://svn.berlios.de/openocd/trunk@854 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent d0f32d0e
......@@ -136,7 +136,7 @@ proc find {filename} {
return $t
}
# make sure error message matches original input string
return [ocd_find $filename]
return -code error "Can't find $filename"
}
add_help_text find "<file> - print full path to file according to OpenOCD search rules"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment