aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-07-05 04:15:33 -0400
committerB. Watson <urchlay@slackware.uk>2024-07-05 04:15:33 -0400
commit2874cc34e718b2129f8982a3d512219d893a0308 (patch)
tree79c9d4bad5f2353994ee8420df4008c99f44ec36
parentf0c8f8555625f60ef85e7f23a7eb36f94a0b7218 (diff)
downloadbw-atari8-tools-2874cc34e718b2129f8982a3d512219d893a0308.tar.gz
listbas: tweak doc and usage.
-rw-r--r--listbas.c8
-rw-r--r--listbas.rst12
2 files changed, 10 insertions, 10 deletions
diff --git a/listbas.c b/listbas.c
index 0c807c2..7421816 100644
--- a/listbas.c
+++ b/listbas.c
@@ -26,13 +26,13 @@ const char **table = ata2utf;
FILE *outfh;
void print_help(void) {
- printf("Usage: %s [-v] [-i] [-n] [-a|-m] <inputfile>\n", self);
- printf(" -v: verbose.\n");
- printf(" -i: show immediate mode command (line 32768).\n");
+ printf("Usage: %s [-a] [-b] [-i] [-m] [-n] [-v] <inputfile>\n", self);
printf(" -a: output raw ATASCII.\n");
+ printf(" -b: use bold for color output.\n");
+ printf(" -i: show immediate mode command (line 32768).\n");
printf(" -m: magazine style listing (see a8cat(1)).\n");
printf(" -n: disable color syntax highlighting.\n");
- printf(" -b: use bold for color output.\n");
+ printf(" -v: verbose.\n");
}
void parse_args(int argc, char **argv) {
diff --git a/listbas.rst b/listbas.rst
index d7f5d26..6fda1cb 100644
--- a/listbas.rst
+++ b/listbas.rst
@@ -29,6 +29,10 @@ OPTIONS
List options
------------
+**-a**
+ Output raw ATASCII; no translation to the host character set. Must be
+ used with redirection; **listbas** will not write ATASCII to the terminal.
+
**-b**
Use bold, for color output. This may make it easier to read on
some terminals. Or, it may hurt your eyes...
@@ -36,17 +40,13 @@ List options
**-i**
Include the immediate mode command (line 32768) in the output.
-**-a**
- Output raw ATASCII; no translation to the host character set. Must be
- used with redirection; **listbas** will not write ATASCII to the terminal.
+**-m**
+ Output "magazine listing". See the **-m** option for **a8cat** for details.
**-n**
No color. Has no effect if **-a** or **-m** are in effect, since these
modes don't support color anyway.
-**-m**
- Output "magazine listing". See the **-m** option for **a8cat** for details.
-
.. include:: genopts.rst
COLORS