From 21ed0c9090c6bab5e315474cd3a959abeb70ac11 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 16 Jul 2024 14:58:45 -0400 Subject: listbas: remove -A option, make autodetect the default. --- listbas.1 | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'listbas.1') diff --git a/listbas.1 b/listbas.1 index 37ecd69..f4160de 100644 --- a/listbas.1 +++ b/listbas.1 @@ -42,40 +42,38 @@ format. By default, output is Unicode in UTF\-8 encoding, with ANSI/VT220 escape sequences for inverse video and color syntax highlighting. .sp -\fBlistbas\fP supports several BASIC dialects used on the Atari; see -the \fB\-b\fP option for details. +\fBlistbas\fP supports several BASIC dialects used on the Atari. By +default, the BASIC dialect is autodetected by running \fBwhichbas\fP(1) +as an external process. .SH OPTIONS .SS BASIC options .INDENT 0.0 .TP -.B \fB\-A\fP -Autodetect the BASIC dialect. Runs \fBwhichbas\fP(1) as an external -process, so it must be available on \fB$PATH\fP\&. Someday, this will -be enabled by default... -.TP .B \fB\-b\fP -Set the BASIC dialect the program was written in. Choices are: +Set the BASIC dialect the program was written in. This disables +autodetection. Supported dialects are: .INDENT 7.0 .TP .B \fB\-ba\fP -Program is Atari BASIC; this is the default. +Atari BASIC. .TP .B \fB\-ba+\fP -Program is OSS BASIC/A+. +OSS BASIC/A+. .TP .B \fB\-bt\fP -Program is Turbo BASIC XL. +Turbo BASIC XL. .TP .B \fB\-bxl\fP -Program is OSS BASIC XL. +OSS BASIC XL. .TP .B \fB\-bxe\fP -Program is OSS BASIC XE. +OSS BASIC XE. .UNINDENT .sp If you see lots of "bad token XX" messages, or if the code just doesn\(aqt make any sense, you\(aqre using the wrong BASIC option. \fBwhichbas\fP(1) -can (usually) detect the BASIC a program was written in. +can usually detect the BASIC a program was written in, but if the +results are ambiguous, \fBlistbas\fP will assume Turbo BASIC XL. .TP .B \fB\-i\fP Include the immediate mode command (line 32768) in the output. -- cgit v1.2.3