Skip to content

Allow completely changing error output prefix #836

@rgoldberg

Description

@rgoldberg

Allow completely changing error output prefix.

e.g., I want Error: to all be red & underlined when connected to a terminal; I don't want the colon to be normal color, non-underlined text.

ParsableArguments#_errorLabel is always output with a : suffix, so I cannot change the colon's color or underline it.

Add ParsableArguments#_errorPrefix that defaults to `"(_errorLabel): ", so ": " can be overridden.

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