Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse options without names vector #88

Merged
merged 1 commit into from
Aug 19, 2019

Commits on Aug 19, 2019

  1. Parse options without names vector

    The only time the names vector has more than one `Name` in it is when parsing contiguous short options (`-abc`). We would continue putting `Name`s into the vector until we hit a short option that takes an argument. At that point, we break, so we can process the argument.
    
    So there's no point to reprocess the head of that vector, we already know they don't take arguments. Only the last one matters.
    jridgewell committed Aug 19, 2019
    Configuration menu
    Copy the full SHA
    8dffd26 View commit details
    Browse the repository at this point in the history