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:
parent
907e440f3a
commit
e833011ccd
14 changed files with 96 additions and 64 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue