We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It seems because of add_help=False you need both help declarations.
diff --git a/opnsense_checkmk_agent.py.orig b/opnsense_checkmk_agent.py index 62ffe38..f228b81 100755 --- a/opnsense_checkmk_agent.py.orig +++ b/opnsense_checkmk_agent.py @@ -2330,7 +2330,7 @@ if __name__ == "__main__": add_help=False, formatter_class=SmartFormatter ) - _parser.add_argument("--help",action="store_true", + _parser.add_argument("-h","--help",action="store_true", help=_("show help message")) _parser.add_argument("--start",action="store_true", help=_("start the daemon"))
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It seems because of add_help=False you need both help declarations.
The text was updated successfully, but these errors were encountered: