Skip to content

cli: annotation tags on *bool types create wrong usage text #34

Description

@alexanderwilling

For example, having this member in a struct:

Main   *bool   `json:"main,omitempty"  cli:"opt --main"`

will create the following line in the usage text:

--main <Main>

when it should create just:

--main

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions