diff options
-rw-r--r-- | unprotbas.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unprotbas.c b/unprotbas.c index 2113fa1..2961f1c 100644 --- a/unprotbas.c +++ b/unprotbas.c @@ -823,6 +823,7 @@ void parse_args(int argc, char **argv) { if(keepvars && forcevars) die("-f and -n are mutually exclusive."); if(readmap && writemap) die("-r and -w are mutually exclusive."); if(readmap && keepvars) die("-r and -n are mutually exclusive, maybe you want -w?"); + if(checkonly && (readmap || writemap)) die("-c and -r/-w are mutually exclusive."); if(protect_code || protect_vars) { if(checkonly || keepvars || forcevars || readmap || writemap || !keepgarbage) die("-p, -pc, -pv options can only be combined with -v, -x, -s."); |