[U-Boot] [PATCH 1/1] cmd: set CONFIG_SYS_HELP_CMD_WIDTH = 10

Heinrich Schuchardt xypron.glpk at gmx.de
Thu Feb 28 05:17:56 UTC 2019


CONFIG_SYS_HELP_CMD_WIDTH is used to format the output of help without any
arguments.

CONFIG_SYS_HELP_CMD_WIDTH = 8 is too narrow to fit all our commands.

Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
---
Tested on Travis CI
https://travis-ci.org/xypron2/u-boot/builds/498902822
---
 include/command.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/command.h b/include/command.h
index 2e24e8ad3ee..be74f6ac92f 100644
--- a/include/command.h
+++ b/include/command.h
@@ -18,7 +18,7 @@
 
 /* Default to a width of 8 characters for help message command width */
 #ifndef CONFIG_SYS_HELP_CMD_WIDTH
-#define CONFIG_SYS_HELP_CMD_WIDTH	8
+#define CONFIG_SYS_HELP_CMD_WIDTH	10
 #endif
 
 #ifndef	__ASSEMBLY__
-- 
2.20.1



More information about the U-Boot mailing list