remove argument conflict with help

This commit is contained in:
flukx 2024-08-18 08:36:06 +02:00
parent 3c396f1684
commit a84525302f

View file

@ -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()