diff options
author | B. Watson <urchlay@slackware.uk> | 2024-07-16 14:58:45 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-07-16 14:58:45 -0400 |
commit | 21ed0c9090c6bab5e315474cd3a959abeb70ac11 (patch) | |
tree | dc0c77ad91fb9e08def19068d893d797d3fb0d73 /listbas.rst | |
parent | f40d6851514c7840a8d068689c28e6df83c68fbe (diff) | |
download | bw-atari8-tools-21ed0c9090c6bab5e315474cd3a959abeb70ac11.tar.gz |
listbas: remove -A option, make autodetect the default.
Diffstat (limited to 'listbas.rst')
-rw-r--r-- | listbas.rst | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/listbas.rst b/listbas.rst index 6b31319..57ba0f8 100644 --- a/listbas.rst +++ b/listbas.rst @@ -23,8 +23,9 @@ format. By default, output is Unicode in UTF-8 encoding, with ANSI/VT220 escape sequences for inverse video and color syntax highlighting. -**listbas** supports several BASIC dialects used on the Atari; see -the **-b** option for details. +**listbas** supports several BASIC dialects used on the Atari. By +default, the BASIC dialect is autodetected by running **whichbas**\(1) +as an external process. OPTIONS ======= @@ -32,32 +33,29 @@ OPTIONS BASIC options ------------- -**-A** - Autodetect the BASIC dialect. Runs **whichbas**\(1) as an external - process, so it must be available on **$PATH**. Someday, this will - be enabled by default... - **-b** - 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: **-ba** - Program is Atari BASIC; this is the default. + Atari BASIC. **-ba+** - Program is OSS BASIC/A+. + OSS BASIC/A+. **-bt** - Program is Turbo BASIC XL. + Turbo BASIC XL. **-bxl** - Program is OSS BASIC XL. + OSS BASIC XL. **-bxe** - Program is OSS BASIC XE. + OSS BASIC XE. If you see lots of "bad token XX" messages, or if the code just doesn't make any sense, you're using the wrong BASIC option. **whichbas**\(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, **listbas** will assume Turbo BASIC XL. **-i** Include the immediate mode command (line 32768) in the output. |