Skip to content

Commit

Permalink
doc: Enhance help text of cli options
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Oct 29, 2023
1 parent b2ad15e commit 7563b2b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7563b2b

Please sign in to comment.