From 3286d83fb8ddbcbbcde3adca2b41dbb3339daa02 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Wed, 24 Apr 2024 15:18:53 -0400 Subject: blob2xex: add -v -h/--help -V/--version options. --- blob2xex.rst | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) (limited to 'blob2xex.rst') diff --git a/blob2xex.rst b/blob2xex.rst index cf5bf10..18ebd6e 100644 --- a/blob2xex.rst +++ b/blob2xex.rst @@ -14,7 +14,7 @@ Create Atari 8-bit executables from arbitrary data SYNOPSIS ======== -blob2xex *outfile* [**-r** *runaddr*] [**-l** *loadaddr* [**-i** *initaddr*] [**-o** *offset*] [**-s** *size*] *infile*] ... +blob2xex *outfile* [**-v**] [**-r** *runaddr*] [**-l** *loadaddr* [**-i** *initaddr*] [**-o** *offset*] [**-s** *size*] *infile*] ... DESCRIPTION =========== @@ -30,7 +30,9 @@ input file. To read from standard input, use **-** for the *infile*. *outfile* must be given as the first argument. When multiple input files are used, the resulting .xex file will have multiple segments. If *outfile* already exists, it will be overwritten. Use -**-** to write to standard output. +**-** to write to standard output. If *outfile* is a filename that +begins with a **-**, prefix it with "./", otherwise it'll be taken as +an option. Addresses, offsets, and sizes may be given in decimal or hex. Hex addresses must be prefixed with either **$** or **0x**. @@ -59,6 +61,15 @@ not **-l0x2000**. Optional; read this many bytes of the next input file. Default is the entire file, or **0xffff** (**65535**) if the file is longer than 64KB. +-v + Verbose output. + +-h, --help + Print usage message and exit. + +-V, --version + Print version number and exit. + EXAMPLES ======== -- cgit v1.2.3