]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd: increase default for SYS_MAXARGS
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Mon, 15 Jan 2024 13:46:56 +0000 (14:46 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 24 Jan 2024 16:12:11 +0000 (11:12 -0500)
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

index 58ab357c7079de2fa6f738a4dfedabc1108abb17..06aae30df306a5933ab185f4f748b9688c3ca4dd 100644 (file)
@@ -94,7 +94,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"