ui/cmddb: clarify 'erase' parameters

This commit is contained in:
Triss 2022-07-24 04:59:41 +02:00
parent 39a44095eb
commit 924c548c2e
1 changed files with 3 additions and 2 deletions

View File

@ -190,11 +190,12 @@ const struct cmddb_record commands[] = {
.func = cmd_erase, .func = cmd_erase,
.help = .help =
"erase [all|segment] [address]\n" "erase [all|segment] [address]\n"
"erase segrange <address> <size> <seg-size>\n" "erase segrange <address> <total-size> <seg-size>\n"
" Erase the device under test. With no arguments, erases all of main\n" " Erase the device under test. With no arguments, erases all of main\n"
" memory. Specify arguments to perform a mass erase, or to erase\n" " memory. Specify arguments to perform a mass erase, or to erase\n"
" individual segments. The \"segrange\" mode is used to erase an\n" " individual segments. The \"segrange\" mode is used to erase an\n"
" address range via a series of segment erases.\n" " address range via a series of segment erases, 'total-size' being"
" a multiple of 'seg-size'.\n"
}, },
{ {
.name = "step", .name = "step",