about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/afl-showmap.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/afl-showmap.c b/src/afl-showmap.c
index 06dbbf8e..ddf5c4ce 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -894,7 +894,12 @@ int main(int argc, char** argv) {
 
   }
 
-  if (in_dir) at_file = "@@";
+  if (in_dir)  {
+  
+    if (at_file) PFATAL("Options -A and -i are mutually exclusive");
+    at_file = "@@";
+  
+  }
 
   detect_file_args(argv + optind, at_file);