pub fn render_ref_parse_error(e: &RefParseError)Expand description
The renderer on its own, for the two call sites that already choose their own exit code.
fetch exits 1 (cli_exit_code(InvalidRef)) and graph exits 2,
citing docs/ERRORS.md §4 “misuse” – and §4 does say an unparsable
argument is misuse, so they disagree and graph is the one following
the table. Filed separately rather than changed here: #477 is about the
message, fetch’s exit 1 is pinned by a named test, and quietly moving
an exit code is how a script breaks without anyone noticing.
One renderer either way, which is the part that was missing.