gh-100916: Convert argument to appropriate type (GH-100917)

This commit is contained in:
Yao-Ching Huang 2023-01-10 18:17:57 +08:00 committed by GitHub
parent 35650f2538
commit b2f7b2ef0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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