Skip to content

How to disable styles? #121

Closed
@hamdanal

Description

@hamdanal

Discussed in #120

Originally posted by bulletmark May 17, 2024
I have a number of Python CLI programs, some of which use subparsers, so I thought I'd try this to see how it looks. However, I find that it interprets rich styles in my code which I did not intend. E.g. it seems I have commonly written "applications[s]" to indicate one or more applications but I am getting a strike-through on all those lines. How can I disable style interpretation?

I already tried RichHelpFormatter.highlights.clear() and RichHelpFormatter.usage_markup = False but no difference.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingrichConcerns rich

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions