mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-05 20:45:49 +01:00
add --board-size for testing
This commit is contained in:
parent
0e1f10b802
commit
55db35867b
1 changed files with 5 additions and 0 deletions
|
@ -523,6 +523,8 @@ def build_cmds(args):
|
|||
if useDupeMode: PARAMS += ['--duplicate-mode']
|
||||
if usePublic: PARAMS += ['--make-public', '--join-public']
|
||||
|
||||
PARAMS += ['--board-size', args.BOARD_SIZE]
|
||||
|
||||
# print('PARAMS:', PARAMS)
|
||||
|
||||
dev = Device( args, GAME, COUNTER, PARAMS, ROOM, peers,
|
||||
|
@ -801,6 +803,9 @@ def mkParser():
|
|||
parser.add_argument('--force-tray', dest = 'TRAYSIZE', default = 0, type = int,
|
||||
help = 'Always this many tiles per tray')
|
||||
|
||||
parser.add_argument('--board-size', dest = 'BOARD_SIZE', type = int, default = 15,
|
||||
help = 'Use <n>x<n> size board')
|
||||
|
||||
parser.add_argument('--core-pat', dest = 'CORE_PAT', default = os.environ.get('DISCON_COREPAT'),
|
||||
help = "pattern for core files that should stop the script " \
|
||||
+ "(default from env $DISCON_COREPAT)" )
|
||||
|
|
Loading…
Add table
Reference in a new issue