openocd/src
Antonio Borneo 5ba8e365d9 telnet: allow hiding selected commands during auto-completion
We have TCL procedure and commands that we do not want to show in
the list of auto-completion. E.g. TCL wrappers for deprecated
commands, internal procedures that are not supposed to be exposed
to user, or even commands that the user decides to hide.

Create a TCL procedure to be called by telnet auto-complete code
in place of the hard-coded TCL command. The procedure will run the
same command and will filter-out the unwanted command names.

Initialize the list of commands to be filtered-out with the name
of the TCL procedure above, as it is considered as internal.

Change-Id: I2d83bbf8194502368c589c85cccb617e69128c69
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/6194
Tested-by: jenkins
Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com>
2021-05-08 09:48:03 +01:00
..
flash tcl/board: add pico-debug support 2021-05-02 22:40:24 +01:00
helper Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
jtag Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
pld Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
rtos target/armv7m: change FPv4_SP and FPv5_SP/DP identifiers to uppercase 2021-04-30 08:20:54 +01:00
rtt openocd: fix doxygen parameters of functions 2021-01-13 11:33:53 +00:00
server telnet: allow hiding selected commands during auto-completion 2021-05-08 09:48:03 +01:00
svf Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
target cortex_m: use unsigned int for FPB and DWT quantifiers 2021-05-04 23:13:20 +01:00
transport Cleanup of config/includes. 2021-05-01 14:35:09 +01:00
xsvf Cleanup of config/includes. 2021-05-01 14:35:09 +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
Makefile.am build: Fix out-of-tree with --disable-dependency-tracking configure flag 2021-04-05 23:24:14 +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