1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-07-04 06:54:33 +00:00

Cleanup: Pass all paths to tools rather than tools constructing them (#2017)

* Pass all paths to tools rather than tools constructing them

* fix: make --baserom-segments required

* sync with mm reviews

* --version everywhere
This commit is contained in:
Dragorn421 2024-09-04 20:49:16 +02:00 committed by GitHub
parent 907e440f3a
commit e833011ccd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 96 additions and 64 deletions

View file

@ -387,7 +387,11 @@ if __name__ == "__main__":
help="find functions with diffs in the given source file (if omitted, print summary of diffs for all files)",
)
parser.add_argument(
"-v", "--version", help="version to compare", default="ntsc-1.2"
"-v",
"--version",
dest="oot_version",
help="version to compare",
default="ntsc-1.2",
)
parser.add_argument(
"--data",
@ -405,8 +409,8 @@ if __name__ == "__main__":
if args.file is not None:
if args.data:
find_data_diffs(args.version, args.file)
find_data_diffs(args.oot_version, args.file)
else:
find_functions_with_diffs(args.version, args.file)
find_functions_with_diffs(args.oot_version, args.file)
else:
print_summary(args.version, args.csv, args.only_not_ok)
print_summary(args.oot_version, args.csv, args.only_not_ok)