Files
reverse-engineering-anything/tests/fixtures/cli-parity/error-sensitive-positional.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
325 B
Plaintext

$ rea inspect-web-network-capture <workspace>/capture.har har secret-literal --sensitive-value secret-literal
exit: 1
--- stdout
code: PARSE_ERROR
message: "Unexpected positional arguments: \"[REDACTED]\". Use 'rea inspect-web-network-capture --help' for the declared argument shape."
retryable: false
<end>
--- stderr
<end>