fix: usage names install.py, not its copy

install.ps1 runs a copy named retrobios-install-<guid>.py, and --help and
every usage error printed that name. The parser names install.py.
This commit is contained in:
Abdessamad Derraz committed 2026-10-28 06:28:38 +01:00
1 parent 10af16f55d
commit 03eac0da94
5 files changed
+35 -10

No files matched your search

+3
View File
@@ -10423,6 +10423,9 @@ def build_parser() -> argparse.ArgumentParser:
"""The options, in the order --help and wiki/installer.md list them
(scripts/generate_installer_doc.py writes its table from this parser)."""
parser = argparse.ArgumentParser(
# Never the file's own name: install.ps1 runs a copy named
# retrobios-install-<guid>.py, which usage and errors printed.
prog="install.py",
allow_abbrev=False,
description="Download missing BIOS files for retrogaming emulators. "
"For questions line by line, as a screen reader reads them, "