Skip to content

Man pages omit arguments encapsulated with < > #2242

@lukasmalkmus

Description

@lukasmalkmus

Describe the bug

The man pages don't include arguments that are between < and >. This is related to cpuguy83/go-md2man#11.

Steps to reproduce the behavior

man gh-repo-clone

Expected vs actual behavior

The SYNOPSIS topic should read like

gh repo clone <repository> [<directory>] [-- <gitflags>...]

but it reads like

gh repo clone  [] [-- ...]

go-md2man should also print a warning about his matter. It can't handle HTML entities (spans in this case).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdocspriority-2Affects more than a few users but doesn't prevent core functions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions