aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2024-05-25 12:54:56 -0400
committerB. Watson <urchlay@slackware.uk>2024-05-25 12:54:56 -0400
commitb07b79049a7bc7b722513700118ac5142d6f03d5 (patch)
treeb33d9a4b217a7e1e634c841d94b26e5184cd814c
parent51b3bdd30fae6305c3475a7d49d507991e63a967 (diff)
downloadbw-atari8-tools-b07b79049a7bc7b722513700118ac5142d6f03d5.tar.gz
unprotbas: add -p/-pc/-pv to usage.
-rw-r--r--unprotbas.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/unprotbas.c b/unprotbas.c
index 28af9a5..7ee5d03 100644
--- a/unprotbas.c
+++ b/unprotbas.c
@@ -604,7 +604,7 @@ void scramble_vars(void) {
}
void print_help(void) {
- fprintf(stderr, "Usage: %s [-v] [-f] [-n] [-g] [-c] [-r|-w] <inputfile> <outputfile>\n", self);
+ fprintf(stderr, "Usage: %s [-v] [[-f] [-n] [-g] [-c] [-r|-w] | [-p|-pc|-pv] ] <inputfile> <outputfile>\n", self);
fprintf(stderr, "-v: verbose\n");
fprintf(stderr, "-f: force variable name table rebuild\n");
fprintf(stderr, "-n: do not rebuild variable name table, even if it's invalid\n");
@@ -612,6 +612,7 @@ void print_help(void) {
fprintf(stderr, "-c: check only; no output file\n");
fprintf(stderr, "-w: write variable names to varnames.txt\n");
fprintf(stderr, "-r: read variable names from varnames.txt\n");
+ fprintf(stderr, "-pc/-pv/-p: protect code/variables/both\n");
fprintf(stderr, "Use - as a filename to read from stdin and/or write to stdout\n");
}