
15 Jan
2024
15 Jan
'24
2:46 p.m.
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"
--
2.43.0