Skip to content

ManPageGenerator does not ignore "hidden" options #1063

@bdemers

Description

@bdemers

I was expecting the ManPageGenerator to ignore "hidden" options the same way that the standard --help renderer ignores them, for example:

@Option(names = "--color", hidden = true)
public void setColor(ColorOptions color) { 
  // ...
}

This does NOT render when --help is used, but it IS rendered to the manpage doc:

--color=<color>

Metadata

Metadata

Assignees

No one assigned

    Labels

    theme: codegenAn issue or change related to the picocli-codegen moduletype: bug 🐛

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions