Skip to content

If parsing results in an error, can I make the app exit with non-zero status? #660

Closed
@gbirchmeier

Description

@gbirchmeier

I notice that if I leave out required options, my app shows an error message and help, but still exits with zero (non-error) status.

Is there a way to change this without overriding/re-implementing the help-text? If there's a param error, it should return an error status.

(That honestly seems like an oversight. Am I overlooking an option?)

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