aboutsummaryrefslogtreecommitdiff
path: root/src/alfsum.rst
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2025-11-18 06:57:14 -0500
committerB. Watson <urchlay@slackware.uk>2025-11-18 06:57:14 -0500
commitebfad791508af77f7f8e942c88a6f5dc88bd6d41 (patch)
treec4414ef1e0fccc49c261dd5305dcdfb2feb53efc /src/alfsum.rst
parent7ec4a5150710643e99f982b5a82f8aeb49302d81 (diff)
downloadunalf-ebfad791508af77f7f8e942c88a6f5dc88bd6d41.tar.gz
Improve alfsum usage a bit.
Diffstat (limited to 'src/alfsum.rst')
-rw-r--r--src/alfsum.rst19
1 files changed, 15 insertions, 4 deletions
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
=========