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

#187 Change boolean option parsing #188

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Commits on Jul 9, 2020

  1. change: modified boolean option parsing, don't parse the next value f…

    …or boolean options.
    
    Prevent the annoying prevous behavior when parsing a boolean option followed by variadic arguments parsed the first followed as value for option instead of true and parst the variadic arguments from the second element only. Like `--verbose first second` was parsed where the `verbose` value was `first` instead `true` and the followed array is only `[second]` instead `[first, second]`.
    
    In order to achieve this the `shouldTakeNextAsValue` function extracted from `handleConcatenatedOpts` and use it in `handleOptWithoutValue` as well.
    
    Resolves mattallty#187
    beci committed Jul 9, 2020
    Configuration menu
    Copy the full SHA
    bfeb141 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e214332 View commit details
    Browse the repository at this point in the history

Commits on Dec 4, 2020

  1. trigger GitHub actions

    beci committed Dec 4, 2020
    Configuration menu
    Copy the full SHA
    8da9784 View commit details
    Browse the repository at this point in the history