diff options
author | B. Watson <urchlay@slackware.uk> | 2024-04-24 15:18:53 -0400 |
---|---|---|
committer | B. Watson <urchlay@slackware.uk> | 2024-04-24 15:18:53 -0400 |
commit | 3286d83fb8ddbcbbcde3adca2b41dbb3339daa02 (patch) | |
tree | 5013babab1682800127fa029a3222097beae2d21 /blob2xex.1 | |
parent | 8ca7c68e9e3baa4c0d17ffeaaee84ff351c104eb (diff) | |
download | bw-atari8-tools-3286d83fb8ddbcbbcde3adca2b41dbb3339daa02.tar.gz |
blob2xex: add -v -h/--help -V/--version options.
Diffstat (limited to 'blob2xex.1')
-rw-r--r-- | blob2xex.1 | 17 |
1 files changed, 15 insertions, 2 deletions
@@ -36,7 +36,7 @@ blob2xex \- Create Atari 8-bit executables from arbitrary data . .SH SYNOPSIS .sp -blob2xex \fIoutfile\fP [\fB\-r\fP \fIrunaddr\fP] [\fB\-l\fP \fIloadaddr\fP [\fB\-i\fP \fIinitaddr\fP] [\fB\-o\fP \fIoffset\fP] [\fB\-s\fP \fIsize\fP] \fIinfile\fP] ... +blob2xex \fIoutfile\fP [\fB\-v\fP] [\fB\-r\fP \fIrunaddr\fP] [\fB\-l\fP \fIloadaddr\fP [\fB\-i\fP \fIinitaddr\fP] [\fB\-o\fP \fIoffset\fP] [\fB\-s\fP \fIsize\fP] \fIinfile\fP] ... .SH DESCRIPTION .sp \fBblob2xex\fP creates an Atari 8\-bit binary load (xex) file from one or @@ -50,7 +50,9 @@ input file. To read from standard input, use \fB\-\fP for the \fIinfile\fP\&. \fIoutfile\fP must be given as the first argument. When multiple input files are used, the resulting .xex file will have multiple segments. If \fIoutfile\fP already exists, it will be overwritten. Use -\fB\-\fP to write to standard output. +\fB\-\fP to write to standard output. If \fIoutfile\fP is a filename that +begins with a \fB\-\fP, prefix it with "./", otherwise it\(aqll be taken as +an option. .sp Addresses, offsets, and sizes may be given in decimal or hex. Hex addresses must be prefixed with either \fB$\fP or \fB0x\fP\&. @@ -78,6 +80,17 @@ Optional; skip this many bytes of the next input file. Default is \fB0\fP\&. Optional; read this many bytes of the next input file. Default is the entire file, or \fB0xffff\fP (\fB65535\fP) if the file is longer than 64KB. .UNINDENT +.INDENT 0.0 +.TP +.B \-v +Verbose output. +.TP +.B \-h\fP,\fB \-\-help +Print usage message and exit. +.TP +.B \-V\fP,\fB \-\-version +Print version number and exit. +.UNINDENT .SH EXAMPLES .sp TODO: come up with a few examples. |