diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-07-22 08:58:44 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-07-22 08:58:44 +0000 |
commit | 81bf9c6255ff26be894148a704692daaf8c667e7 (patch) | |
tree | 0e41856b4c4734d6f6d9d25db8aa8c5ae904e773 /src | |
parent | d0f32d0ed5045aa45578d19c5419cf5b323e4891 (diff) | |
download | openocd_libswd-81bf9c6255ff26be894148a704692daaf8c667e7.tar.gz openocd_libswd-81bf9c6255ff26be894148a704692daaf8c667e7.tar.bz2 openocd_libswd-81bf9c6255ff26be894148a704692daaf8c667e7.tar.xz openocd_libswd-81bf9c6255ff26be894148a704692daaf8c667e7.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/helper/startup.tcl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/startup.tcl b/src/helper/startup.tcl index a7697758..e60ad976 100644 --- a/src/helper/startup.tcl +++ b/src/helper/startup.tcl @@ -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" |