]> git.dujemihanovic.xyz Git - u-boot.git/commit
cli: hush_modern: Enable if keyword
authorFrancis Laniel <francis.laniel@amarulasolutions.com>
Fri, 22 Dec 2023 21:02:39 +0000 (22:02 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 28 Dec 2023 17:02:56 +0000 (12:02 -0500)
commit374b77ed9ee573da3f47f4fdaaf69cc82d657c52
tree878b705bf3f88154c012219ecb780d8e251b3bc1
parentd8b256308d2134ffe8704f26309897ebb9b56b64
cli: hush_modern: Enable if keyword

Adds support for "if then else" construct both for command line interface and
through run_command().

Signed-off-by: Francis Laniel <francis.laniel@amarulasolutions.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/cli_hush_modern.c
common/cli_hush_upstream.c