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

Fix default display in help for EnumerableFlag and other types #486

Merged
merged 6 commits into from Sep 14, 2022

Commits on Sep 1, 2022

  1. Copy the full SHA
    d8758bc View commit details
    Browse the repository at this point in the history
  2. Use correct names for Bool flags with inversions

    In the help for flags like --prefix/--no-prefix, use the name of the
    default flag instead of true/false.
    natecook1000 committed Sep 1, 2022
    Copy the full SHA
    261f047 View commit details
    Browse the repository at this point in the history
  3. Copy the full SHA
    283bd58 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2022

  1. Show the correct flag name for EnumerableFlags

    When EnumerableFlag types have separate help strings, show the correct
    default flag name on the default flag in the help.
    natecook1000 committed Sep 2, 2022
    Copy the full SHA
    4d2e5d3 View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2022

  1. Copy the full SHA
    72ce72c View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2022

  1. Merge branch 'main' into enumerable_flag_help

    # Conflicts:
    #	Sources/ArgumentParser/Parsable Properties/Flag.swift
    #	Sources/ArgumentParser/Parsing/ArgumentSet.swift
    #	Tests/ArgumentParserUnitTests/HelpGenerationTests.swift
    natecook1000 committed Sep 12, 2022
    Copy the full SHA
    471d891 View commit details
    Browse the repository at this point in the history