Skip to contentSkip to conversation

cmd: set CONFIG_SYS_HELP_CMD_WIDTH = 10

PATCH New Heinrich Schuchardt 2 participants 2 messages Feb 28, 2019 – Mar 22, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cmd: set CONFIG_SYS_HELP_CMD_WIDTH = 10

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.

---
Tested on Travis CI
https://travis-ci.org/xypron2/u-boot/builds/498902822

---
 include/command.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/command.h +1 -1
index 2e24e8ad3ee..be74f6ac92f 100644
@@ -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__
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 cmd: set CONFIG_SYS_HELP_CMD_WIDTH = 10

Quoted 6 lines · Heinrich Schuchardt

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.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190322/ff28c228/attachment.sig>