Files
reverse-engineering-anything/tests/fixtures/cli-parity/error-separator.txt
T
gensokyo-devandgensokyo-dev c5cbb212d7 fix(cli): report argv parse failures as PARSE_ERROR
Unknown flags, missing flag values and surplus positional arguments
reported the catch-all UNKNOWN code, while a misspelled flag already
reported PARSE_ERROR. Every argv parse failure now reports PARSE_ERROR
with retryable false; UNKNOWN stays reserved for unexpected failures.

Co-Authored-By: gensokyo-dev <342580529+gensokyo-dev@users.noreply.github.com>
2026-11-28 15:30:06 +08:00

10 lines
171 B
Plaintext

$ rea inspect-byte-entropy <workspace>/sample.bin -- --block-size
exit: 1
--- stdout
code: PARSE_ERROR
message: "Unknown flag: --"
retryable: false
<end>
--- stderr
<end>