diff options
author | B. Watson <urchlay@slackware.uk> | 2025-02-26 15:15:00 -0500 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2025-02-26 15:15:00 -0500 |
commit | bbda8fc16223280b8ec0cabe5e87971527a91b0d (patch) | |
tree | 2afe8d218714fa9ec26e67207bcef6d93d5aece5 | |
parent | 2797f43e4cef6bea12e37208d3425cc72bd5778d (diff) | |
download | bw-atari8-tools-bbda8fc16223280b8ec0cabe5e87971527a91b0d.tar.gz |
listamsb: add -r to --help output.
-rw-r--r-- | listamsb.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 <urchlay@slackware.uk>, 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')"); |