summaryrefslogtreecommitdiff
path: root/cmd/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/help.c')
-rw-r--r--cmd/help.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/help.c b/cmd/help.c
index 8d67d977bf..9f8393eefd 100644
--- a/cmd/help.c
+++ b/cmd/help.c
@@ -29,7 +29,10 @@ U_BOOT_CMD(
);
#ifdef CONFIG_CMDLINE
-/* This does not use the U_BOOT_CMD macro as ? can't be used in symbol names */
+/*
+ * This does not use the U_BOOT_CMD macro as ? can't be used in symbol names
+ * nor can we rely on the CONFIG_SYS_LONGHELP helper macro
+ */
ll_entry_declare(struct cmd_tbl, question_mark, cmd) = {
"?", CONFIG_SYS_MAXARGS, cmd_always_repeatable, do_help,
"alias for 'help'",