Further help text updates

This commit is contained in:
SId Price 2022-06-26 14:46:56 -06:00 committed by Rachel Mant
parent 7edd4b3379
commit 3495207980
1 changed files with 11 additions and 11 deletions

View File

@ -145,16 +145,16 @@ static void cl_help(char **argv)
"\t 1 = INFO, 2 = GDB, 4 = TARGET, 8 = PROBE, 16 = WIRE\n"
"\n"
"Probe selection arguments [-d PATH | -P NUMBER | -s SERIAL | -c TYPE]:\n"
"\t-d, --device <path> Use a serial device at the given path (Deprecated!)\n"
"\t-P, --probe <number> Use the <number>th debug probe found while scanning the\n"
"\t-d, --device Use a serial device at the given path (Deprecated!)\n"
"\t-P, --probe Use the <number>th debug probe found while scanning the\n"
"\t system, see the output from list for the order\n"
"\t-s, --serial <serial> Select the debug probe with the given serial number\n"
"\t-c, --ftdi-type <type> Select the FTDI-based debug probe with of the given\n"
"\t-s, --serial Select the debug probe with the given serial number\n"
"\t-c, --ftdi-type Select the FTDI-based debug probe with of the given\n"
"\t type (cable)\n"
"\n"
"General configuration options: [-n NUMBER] [-j] [-C] [-t | -T] [-e] [-p] [-R[h]]\n"
" [-H] [-M STRING ...]\n"
"\t-n, --number <scan-number> Select the target device at the given position in the\n"
"\t-n, --number Select the target device at the given position in the\n"
"\t scan chain (use the -t option to get a scan chain listing)\n"
"\t-j, --jtag Use JTAG instead of SWD\n"
"\t-C, --hw-reset Connect to target under hardware reset\n"
@ -165,17 +165,17 @@ static void cl_help(char **argv)
"\t-e, --ext-res Assume external resistors for FTDI devices, that is having the\n"
"\t FTDI chip connected through resistors to TMS, TDI and TDO\n"
"\t-p, --power Power the target from the probe (if possible)\n"
"\t-R, --reset [h] Reset the device. If followed by 'h', this will be done using\n"
"\t-R, --reset Reset the device. If followed by 'h', this will be done using\n"
"\t the hardware reset line instead of over the debug link\n"
"\t-H, --high-level Do not use the high level command API (bmp-remote)\n"
"\t-M, --monitor <string> Run target-specific monitor commands. This option\n"
"\t-M, --monitor Run target-specific monitor commands. This option\n"
"\t can be repeated for as many commands you wish to run.\n"
"\t If the command contains spaces, use quotes around the\n"
"\t complete command\n"
"\n"
"SWD-specific configuration options [-f FREQUENCY | -m TARGET]:\n"
"\t-f, --freq <frequency> Set an operating frequency for SWD\n"
"\t-m, --mult-drop <target> Use the given target ID for selection in SWD multi-drop\n"
"\t-f, --freq Set an operating frequency for SWD\n"
"\t-m, --mult-drop Use the given target ID for selection in SWD multi-drop\n"
"\n"
"Flash operation selection options [-E | -w | -V | -r]:\n"
"\t-E, --erase Erase the target device Flash\n"
@ -186,9 +186,9 @@ static void cl_help(char **argv)
"\t-r, --read Read the target device Flash\n"
"\n"
"Flash operation modifiers options: [-a ADDR] [-S number] [FILE]\n"
"\t-a, --addr <addr> Start address for the given Flash operation (defaults to\n"
"\t-a, --addr Start address for the given Flash operation (defaults to\n"
"\t the start of Flash)\n"
"\t-S, --byte-count <number> Number of bytes to work on in the Flash operation (default\n"
"\t-S, --byte-count Number of bytes to work on in the Flash operation (default\n"
"\t is till the operation fails or is complete)\n"
"\t<file> Binary file to use in Flash operations\n",
argv[0]