JAL-629 Change all stdout and stderr output to use Console.outPrintln and Console...
[jalview.git] / src / jalview / bin / argparser / BootstrapArgs.java
index a29f7b8..32eb91a 100644 (file)
@@ -55,7 +55,7 @@ public class BootstrapArgs
     {
       if (argFiles.contains(inArgFile))
       {
-        System.err.println(
+        jalview.bin.Console.errPrintln(
                 "Looped argfiles detected: '" + inArgFile.getPath() + "'");
         return;
       }
@@ -154,16 +154,11 @@ public class BootstrapArgs
           // make a check for an output going to stdout
           if (a != null && a.hasOption(Opt.OUTPUTFILE))
           {
-            System.err.println("###### Found an output");
-            System.err.println("######   val='" + val + "'");
-            System.err
-                    .println("######   next arg='" + args.get(i + 1) + "'");
             if ((val == null && i + 1 < args.size()
                     && ArgParser.STDOUTFILENAME.equals(args.get(i + 1)))
                     || ArgParser.STDOUTFILENAME.equals(val))
             {
               this.outputToStdout = true;
-              System.err.println("###### Expecting output to stdout");
             }
           }