CONFIG_SHELL_ARGC_MAX

Maximum arguments in shell command

Type: int

Help

Maximum number of arguments that can build a command.

Direct dependencies

SHELL

(Includes any dependencies from ifs and menus.)

Default

  • 12

Kconfig definition

At <Zephyr>/subsys/shell/Kconfig:61

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:41

Menu path: (Top) → Sub Systems and OS Services → Shell

config SHELL_ARGC_MAX
    int "Maximum arguments in shell command"
    range 3 255
    default 12
    depends on SHELL
    help
      Maximum number of arguments that can build a command.

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