From: Niki Roo Date: Sun, 26 Apr 2020 12:37:15 +0000 (+0200) Subject: direct Main with arguments to CLI version X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=4ce96da3c4e3d16764d64efdbc546cb14020ce7b;p=fanfix-jexer.git direct Main with arguments to CLI version --- diff --git a/Instance.java b/Instance.java index f48d05b..d0d1c84 100644 --- a/Instance.java +++ b/Instance.java @@ -48,8 +48,19 @@ public class Instance { /** * Initialise the instance -- if already initialised, nothing will happen. *

- * Before calling this method, you may call {@link Bundles#setDirectory(String)} - * if wanted. + * Before calling this method, you may call + * {@link Bundles#setDirectory(String)} if wanted. + *

+ * Note that this method will honour some environment variables, the 3 most + * important ones probably being: + *

*/ static public void init() { init(false); @@ -465,7 +476,6 @@ public class Instance { BasicLibrary lib = null; boolean useRemote = config.getBoolean(Config.REMOTE_LIBRARY_ENABLED, false); - if (useRemote) { String host = null; int port = -1;