Skip to content

bug: custom help_trigger() not applied in from_env() err #220

Description

@ver-nyan

Hi, i noticed custom help_trigger() is not applied in from_env() and always defaults to --help. If not using --help, you could end up with:

Unrecognized argument: --help

Run foo --help for more information.

The snippet in from_en():

eprintln!("{}\nRun {} --help for more information.", early_exit.output, cmd);

This isn't a big deal for me since I'm using my own entire help message anyways, but I just wanted to point this out.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions