[PATCH 1/1] cmd: increase default for SYS_MAXARGS

The value of CONFIG SYS_MAXARGS limits the usability of the 'for' command. The current default of 16 is too low for some use case. Cf. https://bugs.launchpad.net/snap-core18/+bug/1910094
Increase the default to 64.
Reported-by: Dave Jones dave.jones@canonical.com Signed-off-by: Heinrich Schuchardt heinrich.schuchardt@canonical.com --- cmd/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/Kconfig b/cmd/Kconfig index 150fa37a50a..4dbf89b7d71 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -90,7 +90,7 @@ config SYS_PROMPT_HUSH_PS2
config SYS_MAXARGS int "Maximum number arguments accepted by commands" - default 16 + default 64
config SYS_XTRACE bool "Command execution tracer"

On Mon, Jan 15, 2024 at 02:46:56PM +0100, Heinrich Schuchardt wrote:
The value of CONFIG SYS_MAXARGS limits the usability of the 'for' command. The current default of 16 is too low for some use case. Cf. https://bugs.launchpad.net/snap-core18/+bug/1910094
Increase the default to 64.
Reported-by: Dave Jones dave.jones@canonical.com Signed-off-by: Heinrich Schuchardt heinrich.schuchardt@canonical.com
Applied to u-boot/master, thanks!
participants (2)
-
Heinrich Schuchardt
-
Tom Rini