mirror of
https://github.com/morluto/rea.git
synced 2026-12-04 22:11:12 +00:00
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>
10 lines
325 B
Plaintext
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>
|