From 264afef117442f5b1e83183ecd27046b6ecf71b5 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 19 May 2024 05:15:55 -0400 Subject: unprotbas: tweak docs. --- unprotbas.1 | 4 ++++ unprotbas.c | 2 +- unprotbas.rst | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) 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... -- cgit v1.2.3