From: gmungoc Date: Mon, 8 Aug 2016 13:16:44 +0000 (+0100) Subject: JAL-2168 document '-nonews' parameter X-Git-Tag: Release_2_10_0~70^2~20 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=27c7530b396a5dd1addc4ab346ef2823d34fb335;p=jalview.git JAL-2168 document '-nonews' parameter --- diff --git a/help/html/features/clarguments.html b/help/html/features/clarguments.html index 63a14af..1d6f62d 100644 --- a/help/html/features/clarguments.html +++ b/help/html/features/clarguments.html @@ -96,6 +96,13 @@ +
-nonews
+ +
Disable check for Jalview news on startup (not recommended other than for classroom / demo usage)
+ + + +
-nousagestats
Turn off google analytics usage tracking
diff --git a/src/jalview/bin/Jalview.java b/src/jalview/bin/Jalview.java index 764c92c..3294c26 100755 --- a/src/jalview/bin/Jalview.java +++ b/src/jalview/bin/Jalview.java @@ -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" // +