diff --git a/pub/lib/commands.cpp b/pub/lib/commands.cpp
index 94789a7c5424b170c3fa61cb6964bd8ab46fba17..96032ff539b7931f2148b085fc31b3d17eedbe69 100644
--- a/pub/lib/commands.cpp
+++ b/pub/lib/commands.cpp
@@ -375,7 +375,7 @@ bool frida_command(string cmd)
             if (fs::path(fname).extension().string()=="")
                 fname += ext;
             mode = SMem::instance()->overwrite ? "overwrite" : "create";
-        } else {
+        } else { // gfa
             fname = sask("Graphic file name", fname);
             mode = "append";
         }