aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-05-19 05:15:55 -0400
committerB. Watson <urchlay@slackware.uk>2024-05-19 05:15:55 -0400
commit264afef117442f5b1e83183ecd27046b6ecf71b5 (patch)
tree60dc1a6a031f35768b8d26c79d126cd4d3b43203
parentffeba14c10e1cf7f2936cd9249a352474c0e9526 (diff)
downloadbw-atari8-tools-264afef117442f5b1e83183ecd27046b6ecf71b5.tar.gz
unprotbas: tweak docs.
-rw-r--r--unprotbas.14
-rw-r--r--unprotbas.c2
-rw-r--r--unprotbas.rst4
3 files changed, 9 insertions, 1 deletions
diff --git a/unprotbas.1 b/unprotbas.1
index 0036a30..f770079 100644
--- a/unprotbas.1
+++ b/unprotbas.1
@@ -48,6 +48,10 @@ output, but \fBunprotbas\fP will refuse to write to standard output if
it\(aqs a terminal (since tokenized BASIC is binary data and may confuse
the terminal).
.SH OPTIONS
+.sp
+Option bundling is not supported, use e.g. \fB\-v \-f\fP, not \fB\-vf\fP\&.
+To use filenames beginning with \fI\-\fP, write them as \fI\&./\-file\fP, or they
+will be treated as options.
.INDENT 0.0
.TP
.B \fB\-v\fP
diff --git a/unprotbas.c b/unprotbas.c
index 845c75b..02263ca 100644
--- a/unprotbas.c
+++ b/unprotbas.c
@@ -489,7 +489,7 @@ int main(int argc, char **argv) {
if(was_protected)
fprintf(stderr, "Program was protected.\n");
else
- fprintf(stderr, "Program was not protected.\n");
+ fprintf(stderr, "Program was NOT protected.\n");
if(checkonly) {
fprintf(stderr, "Check-only mode; no output written.\n");
diff --git a/unprotbas.rst b/unprotbas.rst
index b3a9926..daf391f 100644
--- a/unprotbas.rst
+++ b/unprotbas.rst
@@ -32,6 +32,10 @@ the terminal).
OPTIONS
=======
+Option bundling is not supported, use e.g. **-v -f**, not **-vf**.
+To use filenames beginning with *-*, write them as *./-file*, or they
+will be treated as options.
+
**-v**
Verbose operation. TODO: it's always verbose right now...