fix: name the platform a typo meant in every CLI

slots ended a mistyped --platform on a traceback; generate_truth,
refresh_data_dirs and auto_fetch exited 0 having done nothing for it.
All six now stop on require_platform before any work.
This commit is contained in:
Abdessamad Derraz committed 2026-10-18 07:14:38 +02:00
1 parent 803f9dce96
commit 195fb92036
7 files changed
+48 -4

No files matched your search

+2
View File
@@ -32,6 +32,7 @@ from common import (
list_registered_platforms,
load_database,
load_platform_config,
require_platform,
require_yaml,
)
@@ -441,6 +442,7 @@ def main() -> None:
include_archived=True,
)
elif args.platform:
require_platform(args.platform, args.platforms_dir)
platforms = [args.platform]
else:
parser.error("Specify --platform or --all")