Merge branch 'develop' into refactor/JAL-2106_sourceDbRef_revision
[jalview.git] / src / jalview / bin / Jalview.java
index 764c92c..3294c26 100755 (executable)
@@ -328,7 +328,6 @@ public class Jalview
             Cache.log.debug("Starting questionnaire with default url: "
                     + defurl);
             desktop.checkForQuestionnaire(defurl);
-
           }
         }
       }
@@ -336,14 +335,12 @@ public class Jalview
       {
         System.err.println("CMD [-noquestionnaire] executed successfully!");
       }
+
       if (!aparser.contains("nonews"))
       {
         desktop.checkForNews();
       }
-    }
 
-    if (!isHeadlessMode())
-    {
       BioJsHTMLOutput.updateBioJS();
     }
 
@@ -785,6 +782,7 @@ public class Jalview
                     + "-eps FILE\tCreate EPS file FILE from alignment.\n"
                     + "-questionnaire URL\tQueries the given URL for information about any Jalview user questionnaires.\n"
                     + "-noquestionnaire\tTurn off questionnaire check.\n"
+                    + "-nonews\tTurn off check for Jalview news.\n"
                     + "-nousagestats\tTurn off google analytics tracking for this session.\n"
                     + "-sortbytree OR -nosortbytree\tEnable or disable sorting of the given alignment by the given tree\n"
                     // +