-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
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"))
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels