fix: accept -p and -t in every tool

verify, generate_pack and cross_reference took -p and -t, slots, generate_truth, diff_truth, export_native and refresh_data_dirs refused them. A test reads every add_argument call.
This commit is contained in:
Abdessamad Derraz committed 2026-10-21 10:11:22 +02:00
1 parent fac47dc4c0
commit 2eee7a991d
6 files changed
+36 -7

No files matched your search

+2 -2
View File
@@ -897,7 +897,7 @@ def main() -> int:
"the file a platform baseline would ship.",
)
parser.add_argument(
"--platform", type=platform_arg,
"--platform", "-p", type=platform_arg,
help="one platform instead of all",
)
parser.add_argument(
@@ -918,7 +918,7 @@ def main() -> int:
help="with all platforms, the archived ones too (RetroPie)",
)
parser.add_argument(
"--target", help="judge only the cores a hardware target builds",
"--target", "-t", help="judge only the cores a hardware target builds",
)
parser.add_argument(
"--strict",