zephyr/subsys/shell
Jakub Rzeszutko 7e46765153 shell: add getopt library support
This functionality is is enabled by setting CONFIG_SHELL_GETOPT.
It is not active by default.

User can call following functions inside command handlers:
 - shell_getopt - getopt function based on freebsd implementation
 - shell_getopt_status_get - returns getopt status

Beware when getopt functionality is enabled shell will not parse
command handler to look for "-h" or "--help" options and print
help message automatically.

Signed-off-by: Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
2021-03-01 09:50:32 -05:00
..
modules shell: add an option for minimal default configuration 2021-02-27 10:26:33 +01:00
CMakeLists.txt shell: add getopt library support 2021-03-01 09:50:32 -05:00
Kconfig shell: add getopt library support 2021-03-01 09:50:32 -05:00
Kconfig.backends shell: Fix typo in a comment 2020-09-15 09:44:42 -05:00
Kconfig.template.shell_log_queue_size
Kconfig.template.shell_log_queue_timeout
shell_cmds.c shell: shell_utils internal api update 2021-01-14 12:07:25 +01:00
shell_dummy.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
shell_fprintf.c shell: internal api update: fprintf 2021-01-14 12:07:25 +01:00
shell_getopt.c shell: add getopt library support 2021-03-01 09:50:32 -05:00
shell_help.c shell: make detecting help option optional 2021-03-01 09:50:32 -05:00
shell_help.h shell: make detecting help option optional 2021-03-01 09:50:32 -05:00
shell_history.c shell: internal api update: history module 2021-01-14 12:07:25 +01:00
shell_log_backend.c shell: shell_utils internal api update 2021-01-14 12:07:25 +01:00
shell_ops.c shell: shell_utils internal api update 2021-01-14 12:07:25 +01:00
shell_ops.h shell: shell_ops internal api update 2021-01-14 12:07:25 +01:00
shell_rtt.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
shell_telnet_protocol.h zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
shell_telnet.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
shell_uart.c mgmt: smp: shell: allow to configure multiple RX buffers via Kconfig 2020-10-07 14:51:06 +02:00
shell_utils.c shell: shell_utils internal api update 2021-01-14 12:07:25 +01:00
shell_utils.h shell: shell_utils internal api update 2021-01-14 12:07:25 +01:00
shell_vt100.h
shell_wildcard.c shell: shell_utils internal api update 2021-01-14 12:07:25 +01:00
shell_wildcard.h shell: internal api update: wildcards 2021-01-14 12:07:25 +01:00
shell.c shell: add getopt library support 2021-03-01 09:50:32 -05:00