JAL-3253-applet JAL-3423 Windows TestNG
[jalview.git] / src / jalview / bin / Jalview.java
index b149911..f59c37f 100755 (executable)
@@ -858,12 +858,12 @@ public class Jalview implements ApplicationSingletonI, JalviewJSApi
                     + "] executed successfully!");
             groovyscript = null;
           }
-          while (aparser.getSize() > 0)
-          {
-            System.out.println("Unknown arg: " + aparser.nextValue());
-          }
         }
         checkOutputFile(aparser, af, format);
+        while (aparser.getSize() > 0)
+        {
+          System.out.println("Unknown arg: " + aparser.nextValue());
+        }
       }
     }
     AlignFrame startUpAlframe = null;
@@ -1052,6 +1052,8 @@ public class Jalview implements ApplicationSingletonI, JalviewJSApi
       // biojsmsa filename
       String outputFormat = aparser.nextValue();
       String file = aparser.nextValue();
+      System.out.println("format " + outputFormat);
+
       if (outputFormat.equalsIgnoreCase("png"))
       {
         af.createPNG(new File(file));