Skip to content

Add global flag '--help/-h'. #119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ernstvonoelsen
Copy link
Contributor

Fixes-71

What

Defines a global --help/-h flag.

Why

Currently, mint h and mint help are implemented to show the help info. When using mint -h or mint --help, the help message is only shown due to the fact that --help is actually not supported, and this is highlighted by a FATAL error message.

How Tested

  • built and run locally
  • added a unittest to ensure that --help/-h behaves in the same error-free manner as --verbose/-v.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant