From 2874cc34e718b2129f8982a3d512219d893a0308 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Fri, 5 Jul 2024 04:15:33 -0400 Subject: listbas: tweak doc and usage. --- listbas.c | 8 ++++---- listbas.rst | 12 ++++++------ 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] \n", self); - printf(" -v: verbose.\n"); - printf(" -i: show immediate mode command (line 32768).\n"); + printf("Usage: %s [-a] [-b] [-i] [-m] [-n] [-v] \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 -- cgit v1.2.3