add usage information to main.c
This commit is contained in:
parent
14404af688
commit
80aafafeeb
4
main.c
4
main.c
|
@ -259,7 +259,7 @@ static const struct driver driver_table[] = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
.name = "flash-bsl",
|
.name = "flash-bsl",
|
||||||
.help = "TI generic FLASH bootloader via RS-232",
|
.help = "TI generic flash-based bootloader via RS-232",
|
||||||
.func = driver_open_flash_bsl
|
.func = driver_open_flash_bsl
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
@ -294,6 +294,8 @@ static void usage(const char *progname)
|
||||||
" Do not read ~/.mspdebug on startup.\n"
|
" Do not read ~/.mspdebug on startup.\n"
|
||||||
" --no-reset\n"
|
" --no-reset\n"
|
||||||
" Do not reset the device on startup.\n"
|
" Do not reset the device on startup.\n"
|
||||||
|
" --long-password\n"
|
||||||
|
" Send 32-byte IVT as BSL password (flash-bsl only)\n"
|
||||||
" --help\n"
|
" --help\n"
|
||||||
" Show this help text.\n"
|
" Show this help text.\n"
|
||||||
" --fet-list\n"
|
" --fet-list\n"
|
||||||
|
|
Loading…
Reference in New Issue