diff --git a/Tools/PyJobTransforms/python/trfArgs.py b/Tools/PyJobTransforms/python/trfArgs.py index 4fd1ac7dcfbbef37ddb68c30ae17897c33324a5e..fe83c984a904b98cd24cf7c16b0f2bb7b41015e2 100644 --- a/Tools/PyJobTransforms/python/trfArgs.py +++ b/Tools/PyJobTransforms/python/trfArgs.py @@ -113,9 +113,11 @@ def addAthenaArguments(parser, maxEventsDefaultSubstep='first', addValgrind=True parser.add_argument('--eventService', type=trfArgClasses.argFactory(trfArgClasses.argBool, runarg=True), metavar='BOOL', group='Athena', help='Switch AthenaMP to the Event Service configuration') - parser.add_argument('--multithreaded', group='Athena', action='store_true', + parser.add_argument('--multithreaded', type=trfArgClasses.argFactory(trfArgClasses.argBool, runarg=False), + metavar='BOOL', group='Athena', nargs='?', const=True, help='Multithreaded mode active') - parser.add_argument('--multiprocess', group='Athena', action='store_true', + parser.add_argument('--multiprocess', type=trfArgClasses.argFactory(trfArgClasses.argBool, runarg=False), + metavar='BOOL', group='Athena', nargs='?', const=True, help='Multiprocess mode active') if addValgrind: