Skip to content

Formatted text in help text not rendered properly #32

@carniz

Description

@carniz

An example Click command has the following help text:

def convert(input_file_name, output_file_name):
	"""
	Converts the format of the \033[1minput file\033[0m and stores it in the \033[1moutput file\033[0m
	"""

When invoking the --help option for the command the words "input file" and "output file" are displayed with a bold font.

However, the man page generated with python3 setup.py --command-packages=click_man.commands man_pages displays it as [1minput file[0m and [1moutput file[0m.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions