summaryrefslogtreecommitdiff
path: root/retail_progress.py
diff options
context:
space:
mode:
authorDragorn421 <Dragorn421@users.noreply.github.com>2024-09-04 20:49:16 +0200
committerGitHub <noreply@github.com>2024-09-05 03:49:16 +0900
commite833011ccd0a594ec16cdee8c94f21c3b8cc32d0 (patch)
tree17a1604d58890bb03a8cbcbb1233f7b744f5742d /retail_progress.py
parent907e440f3add31a315475f878ced0c6b9d453708 (diff)
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
Diffstat (limited to 'retail_progress.py')
-rwxr-xr-xretail_progress.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/retail_progress.py b/retail_progress.py
index 58bb5c540..ec1095330 100755
--- a/retail_progress.py
+++ b/retail_progress.py
@@ -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)