mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-04-28 00:20:48 +00:00
add help for cli args
This commit is contained in:
parent
e052eb25b4
commit
2d3bc6a059
1 changed files with 2 additions and 2 deletions
4
web.py
4
web.py
|
|
@ -26,8 +26,8 @@ async def main():
|
|||
|
||||
# parse command line args
|
||||
parser = argparse.ArgumentParser(description="ReticulumWebChat")
|
||||
parser.add_argument("--host", nargs='?', default="0.0.0.0", type=str)
|
||||
parser.add_argument("--port", nargs='?', default="8000", type=int)
|
||||
parser.add_argument("--host", nargs='?', default="0.0.0.0", type=str, help="The address the web server should listen on.")
|
||||
parser.add_argument("--port", nargs='?', default="8000", type=int, help="The port the web server should listen on.")
|
||||
args = parser.parse_args()
|
||||
|
||||
# run sanic app
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue