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 ifs and menus.)

Default

  • 12

Kconfig definition

At subsys/shell/Kconfig:50

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:24

Menu path: (Top) → Shell

config SHELL_ARGC_MAX
    int "Maximum arguments in shell command"
    default 12
    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.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)