diff options
author | Patrick Delaunay <patrick.delaunay@st.com> | 2020-10-26 11:31:42 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-12-01 22:12:28 +0300 |
commit | 48aee0afb62ee4ce11dd882600cfbcda60efb563 (patch) | |
tree | 16264d1217e152b56a99b65acfd698ce34ea4e56 /cmd | |
parent | 310f285e788dbc77fe804261ff5d016cd56ad523 (diff) | |
download | u-boot-48aee0afb62ee4ce11dd882600cfbcda60efb563.tar.xz |
cmd: Kconfig: migrate CONFIG_SYS_PROMPT_HUSH_PS2
Move CONFIG_SYS_PROMPT_HUSH_PS2 in Kconfig, depending
on CONFIG_HUSH_PARSER, and remove the default value defined
in cli_hush.c under __U_BOOT__.
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/Kconfig | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 1595de999b..98cf543ead 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -55,6 +55,15 @@ config SYS_PROMPT This string is displayed in the command line to the left of the cursor. +config SYS_PROMPT_HUSH_PS2 + string "Hush shell secondary prompt" + depends on HUSH_PARSER + default "> " + help + This defines the secondary prompt string, which is + printed when the command interpreter needs more input + to complete a command. Usually "> ". + config SYS_XTRACE string "Command execution tracer" depends on CMDLINE |