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:
parent
d0f32d0ed5
commit
81bf9c6255
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue