]> git.sur5r.net Git - openocd/commit
helper/options.c: fail if unexpected cmdline arguments are present
authorGirts <girtsf@users.noreply.github.com>
Sat, 5 Nov 2016 21:38:55 +0000 (14:38 -0700)
committerFreddie Chopin <freddie.chopin@gmail.com>
Sun, 23 Apr 2017 20:38:41 +0000 (21:38 +0100)
commitb90d58db07459a353d20b052bd1e4732fec03aa5
treec57fb0ac47c94217a06f73e66b1f8c47eb207de5
parentf63af76466234cc905df6ea8e0f3fb5284c2058d
helper/options.c: fail if unexpected cmdline arguments are present

Previously openocd would silently ignore any incorrect arguments.

Change-Id: Ibb40b57b8a9e07d191215486f3b3c4920a9963c7
Signed-off-by: Girts Folkmanis <opensource@girts.me>
Reviewed-on: http://openocd.zylin.com/3879
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
src/helper/options.c