From a84525302f8f67f1fdf3d1a8673e189ff085108b Mon Sep 17 00:00:00 2001 From: flukx Date: Sun, 18 Aug 2024 08:36:06 +0200 Subject: [PATCH] remove argument conflict with help --- flinventory_gui/search.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flinventory_gui/search.py b/flinventory_gui/search.py index 9567a47..2202bcd 100644 --- a/flinventory_gui/search.py +++ b/flinventory_gui/search.py @@ -25,9 +25,10 @@ def get_options() -> argparse.Namespace: help="Port on which to serve the website.", type=int, default=11111) - parser.add_argument("--host", "-h", + parser.add_argument("--host", help="Host on which to run. " - "For some cases 0.0.0.0 is necessary for accessability from outside.", + "For some cases 0.0.0.0 is necessary for accessability from outside. " + "Passed to nicegui.ui.run.", default="0.0.0.0") return parser.parse_args()