MPA: Added --extravert option to pass on to backend.

This commit is contained in:
Cas Cremers 2010-11-15 10:18:20 +01:00
parent 135fbaf726
commit edba6aac7f

View File

@ -79,6 +79,8 @@ def parseArgs():
parser.add_option("-U","--init-unique",dest="initunique",default=False,action="store_true", parser.add_option("-U","--init-unique",dest="initunique",default=False,action="store_true",
help="Use Scythers --init-unique switch to filter out initiators talking to themselves.") help="Use Scythers --init-unique switch to filter out initiators talking to themselves.")
parser.add_option("-E","--extravert",dest="extravert",default=False,action="store_true",
help="Use Scythers --extravert switch to filter out agents talking to themselves.")
parser.add_option("-D","--debug",dest="debug",default=False,action="store_true", parser.add_option("-D","--debug",dest="debug",default=False,action="store_true",
help="Enable debugging features.") help="Enable debugging features.")
@ -302,6 +304,8 @@ def bigTest():
# Initialize mpa options # Initialize mpa options
mpaopts = "" mpaopts = ""
if OPTS.extravert:
mpaopts = (mpaopts + " --extravert").strip()
if OPTS.initunique: if OPTS.initunique:
mpaopts = (mpaopts + " --init-unique").strip() mpaopts = (mpaopts + " --init-unique").strip()