mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-11 12:33:53 -06:00
docs: say a refused option writes no event
An agent reading the events learns that an option refused before the run starts ends on code 2 with no end event.
This commit is contained in:
1 parent
4c0c480bdd
commit
232f27f5db
1 file changed
+3
-2
@@ -131,7 +131,7 @@ def llms_txt(platforms: list[tuple[str, str]]) -> str:
|
||||
f"With Python 3.8 or newer, the installer is also a package: `{UVX} --for-games "
|
||||
f"--required-only --dry-run`, or `pipx run retrobios` with the same options.",
|
||||
"",
|
||||
"1. Plan: add `--dry-run --events`. Nothing is written, and standard output carries "
|
||||
"1. Plan: run it with `--dry-run --events`. Nothing is written, and standard output carries "
|
||||
f"one JSON object per line, event schema {EVENT_SCHEMA} "
|
||||
f"([JSON Schema]({SITE}{EVENTS_SCHEMA_PATH})): a `file` event per file with its "
|
||||
"`state`, `check` with the totals and `bytes_needed`, then `summary` with `pending`.",
|
||||
@@ -140,7 +140,8 @@ def llms_txt(platforms: list[tuple[str, str]]) -> str:
|
||||
"",
|
||||
"- `--yes` asks nothing: use it in a run without a terminal. A run that needs an "
|
||||
"answer (two setups found, none found) stops and names the option to give.",
|
||||
"- The exit code, also the `code` of the last `end` event:",
|
||||
"- The exit code, also the `code` of the last `end` event. An option refused at once "
|
||||
"writes no event at all:",
|
||||
*(f" - `{code}`: {meaning}" for code, meaning in EXIT_CODES),
|
||||
"",
|
||||
"## Start",
|
||||
|
||||
Reference in new issue
Block a user