diff options
| author | Dragorn421 <Dragorn421@users.noreply.github.com> | 2024-09-04 20:49:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-05 03:49:16 +0900 |
| commit | e833011ccd0a594ec16cdee8c94f21c3b8cc32d0 (patch) | |
| tree | 17a1604d58890bb03a8cbcbb1233f7b744f5742d /retail_progress.py | |
| parent | 907e440f3add31a315475f878ced0c6b9d453708 (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-x | retail_progress.py | 12 |
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) |
