Allow diff files to be created from the command line

This commit is contained in:
Fabian Dill
2020-03-08 15:34:35 +01:00
parent 74c7eca301
commit 74b1688427
3 changed files with 9 additions and 2 deletions

View File

@@ -274,6 +274,9 @@ def parse_arguments(argv, no_defaults=False):
parser.add_argument('--outputpath')
parser.add_argument('--race', default=defval(False), action='store_true')
parser.add_argument('--outputname')
parser.add_argument('--create_diff', default=defval(False), action='store_true', help='''\
create a binary patch file from which the randomized rom can be recreated using MultiClient.
Does not work with jsonout.''')
if multiargs.multi:
for player in range(1, multiargs.multi + 1):