From c62473ae0f495c280759e8f285e5366855ad7a52 Mon Sep 17 00:00:00 2001 From: _ov4 Date: Sat, 17 Oct 2026 09:35:23 +0000 Subject: docs: runtime diagnostics go to standard error Co-Authored-By: Claude Sonnet 5.5 --- doc/cpsc.1.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/cpsc.1.md') diff --git a/doc/cpsc.1.md b/doc/cpsc.1.md index 5b1369d..eb5140b 100644 --- a/doc/cpsc.1.md +++ b/doc/cpsc.1.md @@ -108,7 +108,7 @@ cpsc me.cps lib.cps -r With **-r**, return the executed program's exit status. MAIN's INTEGER result is truncated to 32 bits before returning to the operating system. In PATH mode, failure to launch `lli` or a child-process crash returns 1. -An uncaught program exception returns 1 after printing `Unhandled exception. Program terminated.` to standard output. Runtime check failures print the source line and error reason to standard output before throwing and can be handled with TRY/CATCH/ENDTRY. +An uncaught program exception returns 1 after printing `Unhandled exception. Program terminated.` to standard error. Runtime check failures print the source line and error reason to standard error before throwing and can be handled with TRY/CATCH/ENDTRY. # NOTES -- cgit v1.3.1-4-g156e