zephyr/subsys/shell/modules
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
..
CMakeLists.txt shell: modules: promote edac mem shell subcommand to root shell command 2021-07-02 13:21:25 -04:00
date_service.c shell: date_service: conditionally include posix/time.h 2023-08-23 10:06:00 +02:00
device_service.c shell: device_service: show the usage conter when pm runtime is enabled 2024-05-01 10:31:03 +02:00
devmem_service.c shell: devmem: address cmd_dump multiple call problem 2024-05-15 10:13:23 +02:00
Kconfig shell: devmem: add devmem dump subcommand 2022-12-05 11:28:22 +01:00
kernel_service.c kernel: rename Z_KERNEL_STACK_BUFFER to K_KERNEL_STACK_BUFFER 2024-03-27 19:27:10 -04:00