target: rewrite command 'was_examined' as COMMAND_HANDLER
commitcca64798f8f01f2f06dbc020113cf9497b56f68b
authorAntonio Borneo <borneo.antonio@gmail.com>
Mon, 19 Dec 2022 22:37:07 +0000 (19 23:37 +0100)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 25 Mar 2023 18:15:03 +0000 (25 18:15 +0000)
treeb9c565aa31210207b1de91b78415834c4abfce3a
parent113ba58231683e8cba329bf83b96d2192c39ad93
target: rewrite command 'was_examined' as COMMAND_HANDLER

Check for empty command line, add the mandatory 'usage' field.

Change-Id: I3f59448458fe01268bf5f4293aea5adcbd6d8279
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/7505
Tested-by: jenkins
src/target/target.c