summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/command.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/command.h b/include/command.h
index 1c4ec4257a5..6262365e128 100644
--- a/include/command.h
+++ b/include/command.h
@@ -328,6 +328,9 @@ int cmd_source_script(ulong addr, const char *fit_uname, const char *confname);
# define _CMD_HELP(x)
#endif
+#define U_BOOT_LONGHELP(_cmdname, text) \
+ static __maybe_unused const char _cmdname##_help_text[] = text
+
#define U_BOOT_SUBCMDS_DO_CMD(_cmdname) \
static int do_##_cmdname(struct cmd_tbl *cmdtp, int flag, \
int argc, char *const argv[], \