nspawn: convert to the new option parser
Uses stop_at_first_nonoption for POSIX-style option parsing.
Includes a fixup for b4df0a9ee6, where
global optarg was used instead of the function param. This made no
difference previously because they were always equal.
Co-developed-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+637
-889
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user