summaryrefslogtreecommitdiff
path: root/cmd/help.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-07-29 11:51:17 -0400
committerTom Rini <trini@konsulko.com>2019-07-29 11:51:17 -0400
commit2d64a0f7e952f54375702fb2b854461e402ded9d (patch)
tree591a1592b29de743bb52895ebb098ebc8b00f57a /cmd/help.c
parent92430b8fc8aac3b4ab92e9ca8a09d83c4788c609 (diff)
parentf043dc28e3cce115089fb9ab86bc6f4bc4a8a882 (diff)
Merge branch '2019-07-29-master-imports'
- Assorted bug fixes
Diffstat (limited to 'cmd/help.c')
-rw-r--r--cmd/help.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/help.c b/cmd/help.c
index fa2010c67eb..a1a0b99b6ff 100644
--- a/cmd/help.c
+++ b/cmd/help.c
@@ -27,6 +27,7 @@ U_BOOT_CMD(
" - print detailed usage of 'command'"
);
+#ifdef CONFIG_CMDLINE
/* This does not use the U_BOOT_CMD macro as ? can't be used in symbol names */
ll_entry_declare(cmd_tbl_t, question_mark, cmd) = {
"?", CONFIG_SYS_MAXARGS, cmd_always_repeatable, do_help,
@@ -35,3 +36,4 @@ ll_entry_declare(cmd_tbl_t, question_mark, cmd) = {
""
#endif /* CONFIG_SYS_LONGHELP */
};
+#endif