shell: add argc range in Kconfig

This commits adds a range to maximum number of arguments that can
build a command.

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordisemi.no>
This commit is contained in:
Jakub Rzeszutko 2020-09-18 10:39:35 +02:00 committed by Carles Cufí
commit 04903452f9

View file

@ -59,6 +59,7 @@ config SHELL_DEFAULT_TERMINAL_HEIGHT
config SHELL_ARGC_MAX
int "Maximum arguments in shell command"
range 3 255
default 12
help
Maximum number of arguments that can build a command.