From 7563b2b58722d979c1b61311e0f9214767017b91 Mon Sep 17 00:00:00 2001 From: Joongi Kim Date: Sun, 29 Oct 2023 11:27:23 +0900 Subject: [PATCH] doc: Enhance help text of cli options --- examples/demo.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/demo.py b/examples/demo.py index 83057bf..c916de2 100644 --- a/examples/demo.py +++ b/examples/demo.py @@ -110,14 +110,16 @@ async def _shutdown_timer_loop_task(app: web.Application) -> None: parser.add_argument( "--history-limit", type=int, + metavar="COUNT", default=10, help="Set the maximum number of task termination history [default: 10]", ) parser.add_argument( "--num-timers", type=int, + metavar="COUNT", default=5, - help="Set the number of timer loop tasks to demonstrate persistent termination logs", + help="Set the number of timer loop tasks to demonstrate persistent termination logs [default: 5]", ) args = parser.parse_args() match args.loop: