]> git.dujemihanovic.xyz Git - u-boot.git/commit
cli: Add a command to show cmdline history
authorSimon Glass <sjg@chromium.org>
Mon, 2 Oct 2023 01:13:06 +0000 (19:13 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 11 Oct 2023 19:43:54 +0000 (15:43 -0400)
commit33eb0b9eef3360396aa0f650f8e1e01baf6dc181
treec92ca08093001fca4f2ec92257b1b3f2850e09b4
parent0f97e944b2bb08b7e13210fc6bea75817aee3237
cli: Add a command to show cmdline history

There is a function for this but it is never used. Showing the history is
a useful feature, so add a new 'history' command.

Signed-off-by: Simon Glass <sjg@chromium.org>
cmd/Kconfig
cmd/Makefile
cmd/history.c [new file with mode: 0644]
common/cli_readline.c
doc/usage/cmd/history.rst [new file with mode: 0644]
doc/usage/index.rst
include/cli.h
test/cmd/Makefile
test/cmd/history.c [new file with mode: 0644]