flash/startup.tcl: Tidy flash program preverify documentation

Remove the hyphen from "pre-verify" in usage text.
Add preverify to the help text and procedure comment

Change-Id: I6d96e78ca84d99929300d461e435f5b4ce07b5db
Signed-off-by: Grant Ramsay <grant.ramsay@hotmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8376
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
Tested-by: jenkins
This commit is contained in:
Grant Ramsay 2024-06-25 16:52:59 +12:00 committed by Antonio Borneo
parent 2cbfd141e8
commit 16c114c058
1 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@
# #
# program utility proc # program utility proc
# usage: program filename # usage: program filename
# optional args: verify, reset, exit and address # optional args: preverify, verify, reset, exit and address
# #
lappend _telnet_autocomplete_skip program_error lappend _telnet_autocomplete_skip program_error
@ -101,8 +101,8 @@ proc program {filename args} {
return return
} }
add_help_text program "write an image to flash, address is only required for binary images. verify, reset, exit are optional" add_help_text program "write an image to flash, address is only required for binary images. preverify, verify, reset, exit are optional"
add_usage_text program "<filename> \[address\] \[pre-verify\] \[verify\] \[reset\] \[exit\]" add_usage_text program "<filename> \[address\] \[preverify\] \[verify\] \[reset\] \[exit\]"
# stm32[f0x|f3x] uses the same flash driver as the stm32f1x # stm32[f0x|f3x] uses the same flash driver as the stm32f1x
proc stm32f0x args { eval stm32f1x $args } proc stm32f0x args { eval stm32f1x $args }