mirror of
https://github.com/openharmony/ability_ability_runtime.git
synced 2026-08-24 22:21:36 -04:00
81cf4b95fe
1. Add check for remaining positional arguments after option parsing - Detect and reject unknown arguments like "u 101" - Prevent silent ignoring of invalid parameters 2. Improve -u option validation - Return error immediately when userId is invalid - Reject non-numeric and negative userId values Signed-off-by: DESKTOP-OM7VPQB\Luobniz <luoyicong@h-partners.com> Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>