The latest development version of this page may be more current than this released 2.6.1-rc1 version.
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 subsys/shell/Kconfig:71

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:45

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.)