Skip to content

v4.4.3

Choose a tag to compare

@BrianPugh BrianPugh released this 28 Dec 18:56
c92254a

Bug Fixes

  • Place positive short flags after positive options, place negative short flags after negative options. By @BrianPugh in #721

    Example python code:

    @app.default
    def foo(dry_run: Annotated[bool, Parameter(alias=["-d"])] = False):
        ...

    Before:

    --dry-run --no-dry-run -d  Enable dry run mode. [default: False]
    

    After:

    --dry-run -d --no-dry-run  Enable dry run mode. [default: False]
    

Full Changelog: v4.4.2...v4.4.3