Skip to content

[args] Allow customising options help angle brackets (or change them to double quotes) #848

Open
@incendial

Description

@incendial

Hi,

When passing the valueHelp argument to an option, the printed value is wrapped into angle brackets (< and >), for example:

Usage: dcm check-dependencies [arguments] <directories>
-h, --help                                         Print this usage information.

    --ignored-packages=<my-package,other,...>      Package names that should be ignored.

What I've noticed is that users think these brackets are part of the syntax and try to add them. But this syntax is invalid (at least in the shells I/users have tried it in). Also I'm not aware if that's some common syntax.

It would be great to have double quotes instead as they are actually valid syntax, for example:

Usage: dcm check-dependencies [arguments] <directories>
-h, --help                                         Print this usage information.

    --ignored-packages="my-package,other,..."      Package names that should be ignored.

or at least a way to configure the used character.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions