aboutsummaryrefslogtreecommitdiff
path: root/listamsb.c
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-02-26 15:15:00 -0500
committerB. Watson <urchlay@slackware.uk>2025-02-26 15:15:00 -0500
commitbbda8fc16223280b8ec0cabe5e87971527a91b0d (patch)
tree2afe8d218714fa9ec26e67207bcef6d93d5aece5 /listamsb.c
parent2797f43e4cef6bea12e37208d3425cc72bd5778d (diff)
downloadbw-atari8-tools-bbda8fc16223280b8ec0cabe5e87971527a91b0d.tar.gz
listamsb: add -r to --help output.
Diffstat (limited to 'listamsb.c')
-rw-r--r--listamsb.c3
1 files changed, 2 insertions, 1 deletions
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 <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')");