zephyr/subsys/shell
Pisit Sawangvonganan 557ad8e45c shell: devmem: address cmd_dump multiple call problem
Call `getopt_init()` to reset `state->optind` instead of directly setting
`optind = 1`. The `getopt()` function uses `getopt_state` from
`getopt_state_get` for state handling, so `getopt_init()` should be called
to correctly run the command again.

Signed-off-by: Pisit Sawangvonganan <pisit@ndrsolution.com>
2024-05-15 10:13:23 +02:00
..
backends Revert "shell: backends: uart: avoid unnecessary TX IRQs" 2024-05-10 18:23:50 -04:00
modules shell: devmem: address cmd_dump multiple call problem 2024-05-15 10:13:23 +02:00
CMakeLists.txt lib: getopt: rework and extend getopt library 2022-01-06 21:26:59 +01:00
Kconfig shell: Allow extension of shell APIs 2024-04-24 16:04:03 -04:00
Kconfig.template.shell_log_queue_size shell: shell_log_backend: take buffer size from config 2022-11-22 13:05:29 +09:00
Kconfig.template.shell_log_queue_timeout license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
shell.c shell: Allow extension of shell APIs 2024-04-24 16:04:03 -04:00
shell_cmds.c shell: fix shell instance name typo 2023-12-05 10:44:56 -05:00
shell_fprintf.c shell: fix MISRA 5.7 violations on struct shell 2023-04-14 12:21:08 +02:00
shell_help.c shell: Add a space after colon 2024-01-05 14:43:21 -05:00
shell_help.h shell: fix MISRA 5.7 violations on struct shell 2023-04-14 12:21:08 +02:00
shell_history.c subsystems: migrate includes to <zephyr/...> 2022-05-09 12:07:35 +02:00
shell_log_backend.c shell: fix a memory corruption coverity issue 2023-10-13 13:11:28 +03:00
shell_ops.c shell: Fix scrolling long commands in history 2023-09-13 16:26:02 +02:00
shell_ops.h shell: Fix shell init procedure when configured as inactive on startup 2024-01-21 16:01:36 +01:00
shell_utils.c shell: add a callback-filter variant of shell_device_lookup 2024-04-30 19:30:15 -05:00
shell_utils.h shell: fix MISRA 5.7 violations on struct shell 2023-04-14 12:21:08 +02:00
shell_vt100.h shell: rework vt100 commands storage 2021-09-28 20:02:01 -04:00
shell_wildcard.c shell: fix MISRA 5.7 violations on struct shell 2023-04-14 12:21:08 +02:00
shell_wildcard.h shell: fix MISRA 5.7 violations on struct shell 2023-04-14 12:21:08 +02:00