teams are ut or the ones in the agents directory''')
p.add_option('-s','--no-sync',dest='sync',action='store_false',default=True,help='run server in non-sync mode')
p.add_option('--headless',dest='headless',action='store_true',default=False,help='run in headless mode')
p.add_option('-a','--adhoc',dest='useAdhoc',action='store_true',default=False,help='use an adhoc agent')
p.add_option('-d','--adhocDefense',dest='adhocOffense',action='store_false',default=True,help='put the ad hoc agent on defense')
p.add_option('-n','--numTrials',dest='numTrials',action='store',type='int',default=-1,help='number of trials to run')
p.add_option('-f','--frames',dest='numFrames',action='store',type='int',default=-1,help='number of frames to run for')
p.add_option('--offense',dest='numOffense',action='store',type='int',default=4,help='number of offensive players')
p.add_option('--defense',dest='numDefense',action='store',type='int',default=4,help='number of defensive players (excluding the goalie)')
p.add_option('--learn-actions',dest='numLearnActions',action='store',type='int',default=0,help='number of instances to learn actions instead of the regular behavior')