diff options
author | B. Watson <urchlay@slackware.uk> | 2024-07-05 16:29:37 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-07-05 16:29:37 -0400 |
commit | 15cedfcccd950b76673d59eb48f674b50330ac0d (patch) | |
tree | 161fd2c1c5399847daad910cce5ddb250d7e9800 /listbas.rst | |
parent | b0eec4c320253238aa528d3899fc70a7eab91379 (diff) | |
download | bw-atari8-tools-15cedfcccd950b76673d59eb48f674b50330ac0d.tar.gz |
listbas: exit with status 2 on invaid tokens, add note to doc about aha.
Diffstat (limited to 'listbas.rst')
-rw-r--r-- | listbas.rst | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/listbas.rst b/listbas.rst index 6fda1cb..881da5f 100644 --- a/listbas.rst +++ b/listbas.rst @@ -118,9 +118,18 @@ protection. - **listbas** tells you if the program is protected, and refuses to operate on variable-protected programs. +I thought about adding an HTML output option, but there's no need: if you want +a colorful listing of an Atari BASIC program, install **aha**\(1) from +https://github.com/theZiz/aha (or your distro's package repo) and run +something like:: + + listbas PROGRAM.BAS | aha > program.html + EXIT STATUS =========== -0 for success, 1 for failure. +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). .. include:: manftr.rst |