The latest development version of this page may be more current than this released 1.14.1 version.
CONFIG_SHELL_ARGC_MAX

Maximum arguments in shell command

Type: int

Help

Maximum number of arguments that can build a command. If command is composed of more than defined, argument SHELL_ARGC_MAX and following are passed as one argument in the string.

Direct dependencies

SHELL

(Includes any dependencies from if’s and menus.)

Defaults

Kconfig definition

At subsys/shell/Kconfig:55

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:26

Menu path: (top menu) → Shell Options → Enable shell

config SHELL_ARGC_MAX
    int
    prompt "Maximum arguments in shell command" if SHELL
    default 12 if SHELL
    depends on SHELL
    help
      Maximum number of arguments that can build a command.
      If command is composed of more than defined, argument SHELL_ARGC_MAX
      and following are passed as one argument in the string.

(Definitions include propagated dependencies, including from if’s and menus.)