flash/startup: extend "program" command to accept "exit"
commit30f802493d1237eeef21282d4224ed89d8a4d480
authorPaul Fertser <fercerpav@gmail.com>
Fri, 23 Jan 2015 08:38:31 +0000 (23 11:38 +0300)
committerAndreas Fritiofson <andreas.fritiofson@gmail.com>
Wed, 11 Feb 2015 22:19:37 +0000 (11 22:19 +0000)
treed7a98671bbd2581393a3766b67cc32966212f489
parenta35712a85c420e24a9c7e9a5eea4fc6d3aff6342
flash/startup: extend "program" command to accept "exit"

This optional argument tells OpenOCD to exit after finishing (either
succesfully, or with an error) the programming sequence. Without it
OpenOCD stays running.

Change-Id: I6ecaf33ff985eea9a9cd02ff644a74403ae3e1e5
Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Reviewed-on: http://openocd.zylin.com/2492
Tested-by: jenkins
Reviewed-by: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de>
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
doc/openocd.texi
src/flash/startup.tcl