fix: make help and version successful discovery
Some checks failed
checks / flake (push) Has been cancelled
Some checks failed
checks / flake (push) Has been cancelled
This commit is contained in:
parent
ffab80a1f2
commit
5c81b469e5
5 changed files with 88 additions and 1 deletions
6
PRD.md
6
PRD.md
|
|
@ -813,6 +813,12 @@ JSON mode is a strict framing protocol:
|
|||
- An error includes the path, byte size, and content digest of its Diagnostic
|
||||
Log when one is available.
|
||||
|
||||
CLI discovery is the sole framing exception. `ghidr --help`, every
|
||||
`ghidr <command> --help`, and `ghidr --version` are successful metadata
|
||||
requests rather than operations: they emit plain UTF-8 text on stdout, leave
|
||||
stderr empty, exit with status 0, and never initialize Ghidra, access the
|
||||
Analysis Store, or execute a command.
|
||||
|
||||
Human-readable mode may present progress and concise diagnostics on stderr.
|
||||
|
||||
Every Ghidra/adapter invocation captures diagnostics into a private temporary
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue