From 2797f43e4cef6bea12e37208d3425cc72bd5778d Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 26 Feb 2025 15:12:11 -0500 Subject: listamsb: add -r option; listbas: fix typo in -r error message. --- listamsb.rst | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'listamsb.rst') diff --git a/listamsb.rst b/listamsb.rst index 98c36ae..d4174f9 100644 --- a/listamsb.rst +++ b/listamsb.rst @@ -45,12 +45,23 @@ OPTIONS Check only. No output on stdout. Diagnostics are still printed on stderr, and the exit status is unchanged. +**-r** *line-range* + Show only part of the listing. *line-range* can be a single line, or + a comma-separated pair of starting and ending line numbers (e.g. **100,200**). + If the start line number is omitted (e.g. **,100**), it will be treated as + **0** (meaning, list from the beginning of the program). If the ending line + number is omitted (e.g. **100,**), it means "list until the end of the program". + **-r,** is equivalent to not using the **-r** option at all. + **-v** Verbose output, on stderr. -**-h** +**-h**\, **--help** Print built-in help and exit. +**--version** + Print version number and exit. + **-i**\, **-u**\, **-t**\, **-m**\, **-s** These options are passed to **a8cat**. See its man page for details. If the **-a** or **-c** option is used, these options have no effect. -- cgit v1.2.3