[3.11] gh-100916: Convert argument to appropriate type (GH-100917) (GH-100918)

Co-authored-by: Yao-Ching Huang <tom4996131207@gmail.com>
This commit is contained in:
Miss Islington (bot) 2023-01-10 02:38:57 -08:00 committed by GitHub
parent 1e74a12bde
commit a7f9afdd46
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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