From 27c7530b396a5dd1addc4ab346ef2823d34fb335 Mon Sep 17 00:00:00 2001 From: gmungoc Date: Mon, 8 Aug 2016 14:16:44 +0100 Subject: [PATCH] JAL-2168 document '-nonews' parameter --- help/html/features/clarguments.html | 7 +++++++ src/jalview/bin/Jalview.java | 6 ++---- 2 files changed, 9 insertions(+), 4 deletions(-) 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" // + -- 1.7.10.2