mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-10 21:43:23 -05:00
refactor: simplify pack label, hash merge, diff exit
This commit is contained in:
1 parent
31e86b6db5
commit
13995047fc
4 files changed
+25
-21
No files matched your search
@@ -207,7 +207,8 @@ def main() -> None:
|
||||
json.dump(reports, sys.stdout, indent=2)
|
||||
print()
|
||||
|
||||
if compared < len(platforms) and (args.platform or not compared):
|
||||
# A named platform must be compared; --all must compare at least one.
|
||||
if compared < (len(platforms) if args.platform else 1):
|
||||
print(f"compared {compared} of {len(platforms)} platform(s)", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
|
||||
Reference in new issue
Block a user