mirror of
https://github.com/apple/swift-argument-parser.git
synced 2026-06-06 20:18:23 +00:00
We were incorrectly skipping over dash-prefixed inputs when looking for the next subcommand. This means that input like `command sub1 --foo sub2` would match the sub1 and sub2 subcommands, even if `--foo` wasn't defined by sub1. This manifested in issues where a value expected by `--foo` would be eaten by the subcommand matcher. Fixes #92.