From 00b27605e2a87ab4c13ad8ebbd00ae0366800689 Mon Sep 17 00:00:00 2001 From: huang06 Date: Tue, 10 Jan 2023 17:08:23 +0800 Subject: [PATCH] docs: convert argument `count` to integer type --- Doc/howto/logging-cookbook.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/howto/logging-cookbook.rst b/Doc/howto/logging-cookbook.rst index bf6f54a841a7b9..8aec8e5e5ee08c 100644 --- a/Doc/howto/logging-cookbook.rst +++ b/Doc/howto/logging-cookbook.rst @@ -1131,7 +1131,7 @@ each request is handled by a thread: 'context can be used to ' 'populate logs') aa = ap.add_argument - aa('--count', '-c', default=100, help='How many requests to simulate') + aa('--count', '-c', type=int, default=100, help='How many requests to simulate') options = ap.parse_args() # Create the dummy webapps and put them in a list which we can use to select