From b07b79049a7bc7b722513700118ac5142d6f03d5 Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sat, 25 May 2024 12:54:56 -0400 Subject: unprotbas: add -p/-pc/-pv to usage. --- unprotbas.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'unprotbas.c') 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] \n", self); + fprintf(stderr, "Usage: %s [-v] [[-f] [-n] [-g] [-c] [-r|-w] | [-p|-pc|-pv] ] \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"); } -- cgit v1.2.3