Files
reverse-engineering-anything/tests/fixtures/cli-parity/error-missing-flag-value.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
188 B
Plaintext

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