From bbda8fc16223280b8ec0cabe5e87971527a91b0d Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 26 Feb 2025 15:15:00 -0500 Subject: listamsb: add -r to --help output. --- listamsb.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/listamsb.c b/listamsb.c index 3111735..01c6881 100644 --- a/listamsb.c +++ b/listamsb.c @@ -281,10 +281,11 @@ int next_line(void) { void print_help(void) { printf("%s v" VERSION " - detokenize Atari Microsoft BASIC files\n", self); puts("By B. Watson , released under the WTFPL"); - printf("Usage: %s [-a] [-v] [-h] [-i] [-u] [-t] [-m] [-s] [file]\n", self); + printf("Usage: %s [-a] [-v] [-h] [-i] [-u] [-t] [-m] [-s] [-r *start,end*] [file]\n", self); puts(" -a: raw ATASCII output"); puts(" -c: check only (no listing)"); puts(" -v: verbose"); + puts(" -r: only list lines numbered from *start* to *end*"); puts(" --help, -h: print this help and exit"); puts(" --version: print version number and exit"); puts(" -i -u -t -m -s: passed to a8cat (try 'a8cat -h')"); -- cgit v1.2.3