mirror of
git://git.code.sf.net/p/openocd/code
synced 2025-07-19 08:38:14 +10:00
throw exception upon syntax error.
git-svn-id: svn://svn.berlios.de/openocd/trunk@838 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
b78f488d63
commit
42501f0ef0
@ -120,7 +120,7 @@ proc unknown {args} {
|
||||
return [eval "$cmd_name [lrange $args 2 end]"]
|
||||
}
|
||||
# This really is an unknown command.
|
||||
puts "Unknown command: $args"
|
||||
return -code error "Unknown command: $args"
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user