From: Eric Wetzel Date: Thu, 26 Nov 2009 15:54:45 +0000 (-0800) Subject: fix 'flash protect' and 'flash erase_sector' X-Git-Tag: v0.4.0-rc1~318 X-Git-Url: https://review.openocd.org/gitweb?a=commitdiff_plain;h=3f8aa3cb035a97988fd38dfb08db5a4224f4b591;hp=3f8aa3cb035a97988fd38dfb08db5a4224f4b591;p=openocd.git fix 'flash protect' and 'flash erase_sector' Command upgrading introduced two off-by-one bugs in the flash commands. This patch fixes the 'flash {protect,erase_sector}' commands to check that they have been passed the correct number of arguments. Ammended during commit to fix help text for 'erase_address' too. ---