From 2d3bc6a05933291495c27b852e6dfeb4ea896078 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Mon, 29 Apr 2024 15:35:16 +1200 Subject: [PATCH] add help for cli args --- web.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web.py b/web.py index 872cf22..96568ae 100644 --- a/web.py +++ b/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