CONFIG_NET_SHELL_DYN_CMD_COMPLETION

Enable network shell dynamic command completion

Type: bool

Help

Enable various net-shell command to support dynamic command completion. This means that for example the nbr command can automatically complete the neighboring IPv6 address and user does not need to type it manually. Please note that this uses more memory in order to save the dynamic command strings. For example for nbr command the increase is 320 bytes (8 neighbors * 40 bytes for IPv6 address length) by default. Other dynamic completion commands in net-shell require also some smaller amount of memory.

Direct dependencies

NET_SHELL && !NET_RAW_MODE && NETWORKING

(Includes any dependencies from ifs and menus.)

Default

  • y

Kconfig definition

At subsys/net/ip/Kconfig:109

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:22subsys/net/Kconfig:80

Menu path: (Top) → Networking → Link layer and IP networking support → IP stack → Enable network shell utilities

config NET_SHELL_DYN_CMD_COMPLETION
    bool "Enable network shell dynamic command completion"
    default y
    depends on NET_SHELL && !NET_RAW_MODE && NETWORKING
    help
      Enable various net-shell command to support dynamic command
      completion. This means that for example the nbr command can
      automatically complete the neighboring IPv6 address and user
      does not need to type it manually.
      Please note that this uses more memory in order to save the
      dynamic command strings. For example for nbr command the
      increase is 320 bytes (8 neighbors * 40 bytes for IPv6 address
      length) by default. Other dynamic completion commands in
      net-shell require also some smaller amount of memory.

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