remove argument conflict with help
This commit is contained in:
parent
3c396f1684
commit
a84525302f
1 changed files with 3 additions and 2 deletions
|
@ -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()
|
||||
|
||||
|
|
Loading…
Reference in a new issue