252. An unknown judge named in a file or cp.toml exits 1, on the command line 2 (2026-11-22)
- Decision.
cpl judges,cpl buildandcpl submitexit 1 when a// judge:line orcp.tomlnames a judge that does not exist, and 2 only forcpl build --judge nope. - Why. The exit-code convention (
spec/tools/cli.md, tools-4) keeps 2 for misuse of the command line; a bad name inside the files is the files' error, like a compile error, and fixing it means editing them. - Reverse. Return
EXIT_USAGEagain wherecpl_judge::resolvefails incrates/cpl-cli/src/build.rsandsubmit.rs.