openocd/src
Antonio Borneo bfce4b41d1 help: fix line size in 'usage' output
The implementation of command 'usage' is broken while checking the
line limit of 76 chars per line (e.g. 'usage load_image') and the
line wrapping is not correct. The same broken code is used for the
first output line of command 'help' too.

When call command_help_show_wrap(), include the command's name in
the string so the whole text would be wrapped.

Change-Id: Idece01ce54994db7e851d8522435ff764b11f3ac
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6223
Tested-by: jenkins
2021-05-29 21:35:06 +01:00
..
flash openocd: use macro ARRAY_SIZE() 2021-05-29 21:33:23 +01:00
helper help: fix line size in 'usage' output 2021-05-29 21:35:06 +01:00
jtag help text: remove trailing space 2021-05-29 21:34:55 +01:00
pld Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
rtos rtos: use ARRAY_SIZE() and simplify rtos_type.create() 2021-05-29 21:33:44 +01:00
rtt openocd: fix doxygen parameters of functions 2021-01-13 11:33:53 +00:00
server server: gdb_server: Add colon for target extended-remote 2021-05-15 20:57:12 +01:00
svf Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
target help text: remove trailing space 2021-05-29 21:34:55 +01:00
transport Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
xsvf openocd: fix some minor typo 2021-05-22 10:06:51 +01:00
Makefile.am build: Fix out-of-tree with --disable-dependency-tracking configure flag 2021-04-05 23:24:14 +01:00
hello.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
openocd.c help: re-implement 'help' independent from tree of struct command 2021-04-18 15:33:54 +01:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00