Simplify and fix handle_reset_command:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 11 Jun 2009 11:42:40 +0000 (11:42 +0000)
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Thu, 11 Jun 2009 11:42:40 +0000 (11:42 +0000)
commitd7ada2457e35d92edfe6bc9946f9c91bd6aeac9b
tree39cb7ebbe09162368c6cb00b1c8384f201b0feab
parente4850d7159d557519fd012bda3bc6e9f35763689
Simplify and fix handle_reset_command:
- Return syntax error if more than one argument is given.
- Move variables to location of first use.

git-svn-id: svn://svn.berlios.de/openocd/trunk@2192 b42882b7-edfa-0310-969c-e2dbd0fdcd60
src/target/target.c