docs: say verify --all covers every platform

The --all help still read 'Verify all active platforms' after the
archived status was dropped. --all covers every registered platform.
This commit is contained in:
Abdessamad Derraz committed 2026-11-06 15:06:42 +01:00
1 parent 1fe37d16ac
commit bf10ebaa82
2 files changed
+17 -1

No files matched your search

+1 -1
View File
@@ -2830,7 +2830,7 @@ def _main(held: contextlib.ExitStack) -> None:
parser = argparse.ArgumentParser(allow_abbrev=False, description="Platform-native BIOS verification")
parser.add_argument("--platform", "-p", type=platform_arg, help="Platform name")
parser.add_argument(
"--all", action="store_true", help="Verify all active platforms"
"--all", action="store_true", help="Verify every registered platform"
)
parser.add_argument(
"--emulator", "-e", help="Emulator profile name(s), comma-separated"
+16
View File
@@ -172,6 +172,22 @@ class TheVerdictClosesARedirectedReport(unittest.TestCase):
self.assertEqual(proc.stdout.splitlines(), ["report", "ERROR: verdict"])
class TheAllHelpNamesWhatItCovers(unittest.TestCase):
"""`verify.py --help` kept 'Verify all active platforms' after the
archived status was dropped: --all covers every registered platform,
and a reader looked for an --include-archived that no longer exists."""
def test_no_help_text_speaks_of_active_platforms(self):
proc = subprocess.run(
[sys.executable, "scripts/verify.py", "--help"], cwd=REPO_ROOT,
capture_output=True, text=True, timeout=60, check=True,
)
self.assertIn("Verify every registered platform", proc.stdout)
stale = [path.name for path in sorted((REPO_ROOT / "scripts").rglob("*.py"))
if "active platform" in path.read_text(encoding="utf-8")]
self.assertEqual(stale, [])
class AMistypedTargetAcrossAllPlatforms(unittest.TestCase):
"""`verify --all --target swich` ended on "no platform has it" after 17
INFO lines, two of which held the suggestion."""