[PATCH] commands: really print BAREBOX_CMD_HELP_TEXT

Wolfram Sang w.sang at pengutronix.de
Sat Dec 17 10:57:40 EST 2011


Signed-off-by: Wolfram Sang <w.sang at pengutronix.de>
---

Or am I missing something?

 include/command.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/command.h b/include/command.h
index e221546..9a90e0b 100644
--- a/include/command.h
+++ b/include/command.h
@@ -95,7 +95,7 @@ static const __maybe_unused char cmd_##_name##_help[] =
 #define BAREBOX_CMD_HELP_USAGE(_name) "Usage: " _name
 #define BAREBOX_CMD_HELP_SHORT(_text) _text
 #define BAREBOX_CMD_HELP_OPT(_opt, _desc) _opt "\t" _desc
-#define BAREBOX_CMD_HELP_TEXT(_text)
+#define BAREBOX_CMD_HELP_TEXT(_text) _text
 #define BAREBOX_CMD_HELP_END ;
 
 #ifdef CONFIG_LONGHELP
-- 
1.7.2.5




More information about the barebox mailing list