cmd: Introduce CMD_HELP
authorMichal Simek <michal.simek@amd.com>
Mon, 30 Jun 2025 12:21:07 +0000 (14:21 +0200)
committerMichal Simek <michal.simek@amd.com>
Tue, 8 Jul 2025 13:00:17 +0000 (15:00 +0200)
commit43341fc02198ef7535251dfa73c7cc828228d0ad
tree703cc5a9ba0f51ecc87daaa7ef4da558b1d362d0
parent229ec063537c85a2d095ddcf345cb7af52fccf57
cmd: Introduce CMD_HELP

Add option to disable help command in size constrained systems to save some
space. There is also no need to have ifdefs around CMDLINE because all
commands depends on it.
And also mark cmd_help dependency in test_help.py.

Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Reviewed-by: Mattijs Korpershoek <mkorpershoek@kernel.org>
Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/c17f825fb8a74e1d1912a3fd09a9a880c84a8bfd.1751286059.git.michal.simek@amd.com
cmd/Kconfig
cmd/Makefile
cmd/help.c
test/py/tests/test_help.py