From ebfad791508af77f7f8e942c88a6f5dc88bd6d41 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Tue, 18 Nov 2025 06:57:14 -0500 Subject: Improve alfsum usage a bit. --- src/alfsum.rst | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'src/alfsum.rst') diff --git a/src/alfsum.rst b/src/alfsum.rst index 69d8f8f..cf9c7d3 100644 --- a/src/alfsum.rst +++ b/src/alfsum.rst @@ -21,7 +21,7 @@ calculate ALF checksums SYNOPSIS ======== -alfsum **file** [**file** ...] +alfsum **file** [**file** ...] | [**--help** | **-h**] | [**--version** | **-V**] DESCRIPTION =========== @@ -29,8 +29,19 @@ DESCRIPTION **alfsum** calculates the checksums used by the **ALF** compression utility on the Atari 8-bit platform. -There are no options. Use **-** to read from standard input. Use -**./-file** to read a file whose name begins with **-**. +To read from standard input, use **-** as a filename + +Output lines have a tab separating the checksum and filename, for ease +of scripting (e.g. with **cut**\(1) or **awk**\(1)). + +OPTIONS +======= + +-h, --help + Show built-in help message. + +-V, --version + Show **alfsum** version number and exit. NOTES ===== @@ -48,7 +59,7 @@ EXIT STATUS File I/O error count. If there are more than 254 I/O errors, 254 is returned. 255 - Error in command-line arguments. + Error in command-line arguments: no filenames given. COPYRIGHT ========= -- cgit v1.2.3