Open misalcedo opened 6 years ago
https://github.com/newsapps/beeswithmachineguns/blob/4b8783dc36d327ad95b711db39054d64bd718344/beeswithmachineguns/main.py#L105
The nargs option is 0, so my assumption is the argument will never have a value and so will never pass "-k" option to Apache Bench.
I tried: "bees attack -K True" "bees attack --keepalive=True" "bees attack -K KEEP_ALIVE" "bees attack --keepalive=KEEP_ALIVE" "bees attack -K" "bees attack --keepalive"
None of them added -k to Apache Bench
https://github.com/newsapps/beeswithmachineguns/blob/4b8783dc36d327ad95b711db39054d64bd718344/beeswithmachineguns/main.py#L105
The nargs option is 0, so my assumption is the argument will never have a value and so will never pass "-k" option to Apache Bench.
I tried: "bees attack -K True" "bees attack --keepalive=True" "bees attack -K KEEP_ALIVE" "bees attack --keepalive=KEEP_ALIVE" "bees attack -K" "bees attack --keepalive"
None of them added -k to Apache Bench