From e8e8ae27a102cec2add35cd4a1eb89b1a297cd45 Mon Sep 17 00:00:00 2001 From: Richard Lee Date: Thu, 14 Jul 2016 15:46:16 -0700 Subject: [PATCH] Use -s rather than -S, due to flag conflict. --- beeswithmachineguns/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beeswithmachineguns/main.py b/beeswithmachineguns/main.py index d3f4f81..8d4512b 100644 --- a/beeswithmachineguns/main.py +++ b/beeswithmachineguns/main.py @@ -122,7 +122,7 @@ def parse_options(): attack_group.add_option('-P', '--contenttype', metavar="CONTENTTYPE", nargs=1, action='store', dest='contenttype', type='string', default='text/plain', help="ContentType header to send to the target of the attack.") - attack_group.add_option('-S', '--sting', metavar="sting", nargs=1, + attack_group.add_option('-s', '--sting', metavar="sting", nargs=1, action='store', dest='sting', type='int', default=1, help="The flag to sting (ping to cache) url before attack (default: 1). 0: no sting, 1: sting sequentially, 2: sting in parallel") attack_group.add_option('-S', '--seconds', metavar="SECONDS", nargs=1,