Skip to content

App doesnt exit on --help #217

@trondhindenes

Description

@trondhindenes

Describe the bug
If using the built-in app.HelpOption();, running the app with --help doesn't exit the app after printing help. This is cumbersome. The app should exit instead of locking

Expected behavior
The app should exit instead of locking

Screenshots
screenshot from 2019-03-07 16-07-22

Additional context
Running apps with complex parameters it's usual to just run --help first to get a sense of available options, and then start constructing the parameters one wishes to use. Since the app locks (and clears when exiting) this requires two side-by-side windows open, which shouldn't be necessary.

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed-duplicateThis issue is closed because it is a duplicate of another issue.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions