mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 01:13:30 -05:00
fix: suggest the nearest system or emulator name
This commit is contained in:
1 parent
c1c3808e1e
commit
feb3b03a39
4 files changed
+33
-9
No files matched your search
+3
-4
@@ -34,6 +34,7 @@ import slots
|
||||
|
||||
sys.path.insert(0, os.path.dirname(__file__))
|
||||
from common import (
|
||||
suggest_names,
|
||||
require_platform,
|
||||
archive_entry,
|
||||
archive_members,
|
||||
@@ -1849,10 +1850,8 @@ def verify_system(
|
||||
f"No emulators found for system(s): {', '.join(system_ids)}",
|
||||
file=sys.stderr,
|
||||
)
|
||||
print(
|
||||
f"Available systems: {', '.join(sorted(all_systems)[:20])}...",
|
||||
file=sys.stderr,
|
||||
)
|
||||
print(suggest_names(system_ids, sorted(all_systems), "--list-systems"),
|
||||
file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
return verify_emulator(
|
||||
|
||||
Reference in new issue
Block a user