Skip to content

Make auto help optional #242

@ajcrites

Description

@ajcrites

There may be some circumstances where --help or -h should perform their .on("--help") duties, but we may not want to print out the automatic help message.

.help is already a method, so I propose a method like .helpFlags that you could include in the usual parse chain that would take overriding help flags as an argument. --help and -h would still work by default, but you could do .helpFlags("-a, --ayudar") to use those instead or even .helpFlags() to prevent anything from outputting the help automatically.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions