This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_SHELL_GETOPT

Enable getopt support

Type: bool

Help

Enables getopt support in the shell.

Direct dependencies

SHELL

(Includes any dependencies from ifs and menus.)

Defaults

No defaults. Implicitly defaults to n.

Symbols selected by this symbol

Kconfig definition

At subsys/shell/Kconfig:140

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

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

config SHELL_GETOPT
    bool "Enable getopt support"
    select GETOPT
    depends on SHELL
    help
      Enables getopt support in the shell.

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