Skip to content

docs(usage): remove nonexistent --set, list deprecated trap flag, name link Web converter - #16206

Merged
adriadam10 merged 4 commits into
boykopovar:mainfrom
MarcZX10:docs-usage-flags-and-naming
Nov 10, 2026
Merged

adriadam10 merged 4 commits into
boykopovar:mainfrom
MarcZX10:docs-usage-flags-and-naming

Conversation

@MarcZX10

@MarcZX10 MarcZX10 commented Nov 5, 2026

Copy link
Copy Markdown
Contributor

What

Corrections to docs/user/USAGE.md, one commit per statement:

  • 4984400807 removes the patch-file name row's reference to a --set option. No such option exists: core/relinker/cli/src/CliArgs.cpp:218 rejects unrecognized options with "unknown option", and git grep -e '--set' -- core tools finds no match. The name is shown in the progress line (core/relinker/relinker/src/patching/GamePatch.cpp:366), the manifest (GamePatch.cpp:552) and the verify report (core/relinker/main.cpp:254), as the row already says.
  • d5f73c7e2f adds --trap-sdk-syscall-stubs to the list of deprecated flags, matching the help text, which lists it under "Deprecated:" (core/relinker/cli/src/CliArgs.cpp:54-58).
  • 43b82cc8e4 starts the --trap-sdk-syscall-stubs table row with "Deprecated.", as the other deprecated rows do.
  • ae423926a1 names the link to https://boykopovar.github.io/AnyPS5/ "Web converter", as README.md does for the same URL.

Tested

Checklist

  • Based on current main; no other open PR implements the same functions
  • One topic per PR; follow-ups go in a new PR
  • No comments in code except technical debt
  • Unimplemented paths throw (NotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file
  • No notes, investigation .md files or images added to the repository (attach them to this PR)
  • New third-party code is a submodule built from source
  • Generic behaviour, not specific to one title
  • Depends on: none
  • Fixes: none
  • Unblocks: none
  • GPUs tested: n/a
  • AI-assisted: yes

@github-actions github-actions Bot added the docs label Nov 5, 2026
@github-actions

github-actions Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.

Pull request Shared files not compared
PR 4847 docs/user/USAGE.md
PR 5021 docs/user/USAGE.md
PR 5925 docs/user/USAGE.md
PR 6924 docs/user/USAGE.md
PR 7642 docs/user/USAGE.md
PR 9345 docs/user/USAGE.md
PR 10193 docs/user/USAGE.md
PR 10792 docs/user/USAGE.md
PR 10861 docs/user/USAGE.md
PR 12678 docs/user/USAGE.md
PR 13928 docs/user/USAGE.md
PR 13929 docs/user/USAGE.md

@gabichuuuuu gabichuuuuu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs check of head ae423926a1 against main 0bae53facd: I compared what the entry says about the code with the code, and checked the links and counts. I can't check the console measurements themselves.

  • --set: nothing in core/relinker/cli parses it, so removing the reference is right.
  • --trap-sdk-syscall-stubs: CliArgs.cpp lists it under Deprecated: in the help, so adding it to the deprecated list is right. The table cell now says "For debugging only." twice, at the start and at the end.
  • Web converter: that's the name the README uses.

@github-actions github-actions Bot added the needs rebase Conflicts with main, rebase needed label Nov 9, 2026
@MarcZX10
MarcZX10 force-pushed the docs-usage-flags-and-naming branch from ae42392 to 6284fdb Compare November 9, 2026 23:52
@github-actions github-actions Bot removed the needs rebase Conflicts with main, rebase needed label Nov 9, 2026
@adriadam10 adriadam10 self-assigned this Nov 10, 2026

@adriadam10 adriadam10 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The --set, deprecated-list and "Web converter" changes check out against CliArgs.cpp and README.md. One problem in the --trap-sdk-syscall-stubs row of docs/user/USAGE.md (line 98):

  • Commit e288436e8b is described as starting the row with "Deprecated.", but it also deletes the sentence "except an int 0x80; ret between the int 0x7f; ret and int 0x81; ret entries of a software interrupt table, which is replaced with UD2 even without this option" (added by #10479). That behaviour is still in the code (SyscallScanner.cpp:141 and :506, covered by test_syscall_number.py), so the row now says something false. Please restore the sentence.
  • The row now contains "For debugging only." twice, at the start and at the end. Keep one.

The patch-file `name` row says the name is "used by a later `--set`
option". No such option exists: CliArgs.cpp:218 rejects any unrecognized
option with "unknown option", and `git grep -e '--set' -- core tools`
finds no match. The name is only displayed, as the progress line
(GamePatch.cpp:366), the manifest (GamePatch.cpp:552) and the verify
report (main.cpp:254), which the row already lists.
The deprecated-flags paragraph names four flags and omits
--trap-sdk-syscall-stubs. The help text lists it under "Deprecated:"
(core/relinker/cli/src/CliArgs.cpp:54-58), so the paragraph now names
it too.
The table row describes the flag only as "For debugging only", while
the help text marks it "Deprecated:" (core/relinker/cli/src/CliArgs.cpp:54-58).
The row now starts with "Deprecated." like the other deprecated rows.
USAGE.md:3 calls https://boykopovar.github.io/AnyPS5/ "Online relinker",
while README.md:9 and docs/dev/BUILD.md use "Web converter" for the same
URL. The link is now named the same way as in the README.
@MarcZX10
MarcZX10 force-pushed the docs-usage-flags-and-naming branch from f587454 to 261be8e Compare November 10, 2026 14:16
@adriadam10
adriadam10 merged commit 87e33dd into boykopovar:main Nov 10, 2026
12 checks passed
@adriadam10

Copy link
Copy Markdown
Collaborator

Checked the interdiff: the int 0x80; ret sentence is restored in the --trap-sdk-syscall-stubs row (matches SyscallScanner.cpp:141 and :506) and "For debugging only." appears once; merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants