From 2da7ac8b7bd573d5cb24e83f4f308837630e9e78 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 25 Feb 2025 07:30:05 -0500 Subject: listamsb: add -c (check only) option. --- listamsb.1 | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'listamsb.1') diff --git a/listamsb.1 b/listamsb.1 index 96e7dcb..37ece05 100644 --- a/listamsb.1 +++ b/listamsb.1 @@ -59,6 +59,10 @@ Output raw ATASCII. This option must be used with a pipe or redirection, as \fBlistamsb\fP will not write ATASCII to a terminal. \fBa8cat\fP is not used, with this option. .TP +.B \fB\-c\fP +Check only. No output on stdout. Diagnostics are still printed on stderr, +and the exit status is unchanged. +.TP .B \fB\-v\fP Verbose output, on stderr. .TP @@ -67,8 +71,16 @@ Print built\-in help and exit. .TP .B \fB\-i\fP, \fB\-u\fP, \fB\-t\fP, \fB\-m\fP, \fB\-s\fP These options are passed to \fBa8cat\fP\&. See its man page for details. If -the \fB\-a\fP option is used, these options have no effect. +the \fB\-a\fP or \fB\-c\fP option is used, these options have no effect. .UNINDENT +.SH DIAGNOSTICS +.SH LIMITATIONS +.sp +Unlike \fBlistbas\fP, there\(aqs no color syntax highlighting. Probably there +never will be. +.sp +It\(aqs hard to reliably detect AMSB files. If you feed \fBlistamsb\fP an +Atari BASIC file, you\(aqll get gibberish output. .SH EXIT STATUS .sp 0 for success, 1 if there was an error reading the input (e.g. file -- cgit v1.2.3