mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-17 15:17:52 -06:00
fix: list boards offline from the given list
--list-targets offline was refused, and its advice to give --manifest or --from-pack was refused in turn. It now reads the boards where --target reads them: the pack's list or targets/<platform>.json beside --manifest.
This commit is contained in:
1 parent
b873c6a9fb
commit
349914fda2
5 files changed
+28
-12
No files matched your search
+3
-2
@@ -13451,9 +13451,10 @@ def main() -> None:
|
||||
):
|
||||
parser.error("--from copies files into the BIOS folder, which a listing "
|
||||
"does not write")
|
||||
if (args.from_pack or args.manifest) and (args.list_platforms or args.list_targets):
|
||||
if (args.from_pack or args.manifest) and args.list_platforms:
|
||||
# --list-targets reads its boards from them, where --target does.
|
||||
parser.error("--from-pack and --manifest give a file list, which --list-platforms "
|
||||
"and --list-targets do not read")
|
||||
"does not read")
|
||||
if args.no_game_data and (args.list_platforms or args.list_targets):
|
||||
parser.error("--no-game-data narrows a file list, not --list-platforms "
|
||||
"or --list-targets")
|
||||
|
||||
Reference in new issue
Block a user