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
This commit is contained in:
oharboe 2008-07-22 08:58:44 +00:00
parent d0f32d0ed5
commit 81bf9c6255
1 changed files with 1 additions and 1 deletions

View File

@ -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"