From 83b3320c89dd6595afa42c3bb8b8046a54d75c3f Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 25 Feb 2025 15:28:20 -0500 Subject: listamsb: exit with status 2 on any warning, not just unknown tokens. --- listamsb.1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'listamsb.1') diff --git a/listamsb.1 b/listamsb.1 index 5b4fa65..ca92ee6 100644 --- a/listamsb.1 +++ b/listamsb.1 @@ -144,8 +144,8 @@ detect Atari BASIC files, but occasionally you\(aqll get gibberish output instea .SH EXIT STATUS .sp 0 for success, 1 if there was an error reading the input (e.g. file -not found), or 2 if the input file has invalid tokens (if this -happens, you will also see a warning about it on stderr). +not found), or 2 if the input file had errors or warnings (see +\fBDIAGNOSTICS\fP). .SH COPYRIGHT .sp WTFPL. See \fI\%http://www.wtfpl.net/txt/copying/\fP for details. -- cgit v1.2.3