nuttx-apps/system/nxinit
wangjianyu3 247a8c03cb system/nxinit: fix argument parser treating --option as -- separator
The init_parse_arguments() function checked for '--' by only
comparing the first two characters, causing options like --system,
--nofork to be misinterpreted as the '--' argument separator. This
truncated the remaining arguments. Add an isblank() check on the
third character to ensure only standalone '--' followed by whitespace
triggers the separator logic.

Assisted-by: GitHubCopilot:claude-4.6-opus
Signed-off-by: wangjianyu3 <wangjianyu3@xiaomi.com>
2026-08-22 17:36:04 +08:00
..
action.c system/nxinit: fix on-event actions re-running on every trigger 2026-08-15 18:51:45 +08:00
action.h system/nxinit: fix on-event actions re-running on every trigger 2026-08-15 18:51:45 +08:00
builtin.c system/nxinit: Add setprop support for action 2026-08-15 18:51:45 +08:00
builtin.h system/nxinit: Add NuttX Init 2026-05-27 17:20:07 -03:00
CMakeLists.txt system/nxinit: Add setprop support for action 2026-08-15 18:51:45 +08:00
import.c system/nxinit: Fix missing check for import argument 2026-06-05 09:43:45 +08:00
import.h system/nxinit: Add NuttX Init 2026-05-27 17:20:07 -03:00
init.c system/nxinit: Parse default cpu-specific configs 2026-08-22 17:36:04 +08:00
init.h system/nxinit: Add setprop support for action 2026-08-15 18:51:45 +08:00
Kconfig system/nxinit: Add support for action triggers 2026-08-15 18:51:45 +08:00
Make.defs system/nxinit: Add NuttX Init 2026-05-27 17:20:07 -03:00
Makefile system/nxinit: Add setprop support for action 2026-08-15 18:51:45 +08:00
parser.c system/nxinit: fix argument parser treating --option as -- separator 2026-08-22 17:36:04 +08:00
parser.h system/nxinit: Parse default cpu-specific configs 2026-08-22 17:36:04 +08:00
property.h system/nxinit: Add setprop support for action 2026-08-15 18:51:45 +08:00
property_simple.c system/nxinit: Add setprop support for action 2026-08-15 18:51:45 +08:00
service.c system: nxinit: bound debug argv dump 2026-07-07 09:47:23 +08:00
service.h system/nxinit: Let use a define to define the class max cmds 2026-05-27 17:20:07 -03:00