mirror of https://github.com/python/cpython.git
[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:
parent
1e74a12bde
commit
a7f9afdd46
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue