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

+3 -1
View File
@@ -576,7 +576,9 @@ def main() -> None:
parser.add_argument(
"--dry-run", action="store_true", help="Preview without downloading"
)
parser.add_argument("--platform", type=platform_arg, help="Only refresh entries for this platform")
parser.add_argument(
"--platform", "-p", type=platform_arg, help="Only refresh entries for this platform"
)
parser.add_argument(
"--registry", default=DEFAULT_REGISTRY, help="Path to _data_dirs.yml"
)