From: Ben Soares Date: Sat, 20 May 2023 16:53:46 +0000 (+0100) Subject: JAL-4187 JAL-629 JAL-3830 small adjustments after further testing in Windows X-Git-Tag: Release_2_11_4_0~305 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=ac27365b5f1d322f15f75f5765f74e2c06dc786f;p=jalview.git JAL-4187 JAL-629 JAL-3830 small adjustments after further testing in Windows --- diff --git a/src/jalview/bin/Launcher.java b/src/jalview/bin/Launcher.java index 2155f8d..f29e0a1 100644 --- a/src/jalview/bin/Launcher.java +++ b/src/jalview/bin/Launcher.java @@ -121,10 +121,8 @@ public class Launcher { launcherwait = true; } - // these quite immediately - if (arg.equals("--version") || arg.equals("--help") - || arg.startsWith("--help-") - || (debug && arg.equals("--launchernowait"))) + // this ends the launcher immediately + if (debug && arg.equals("--launchernowait")) { wait = false; } diff --git a/src/jalview/bin/argparser/Arg.java b/src/jalview/bin/argparser/Arg.java index 2a080fc..8003245 100644 --- a/src/jalview/bin/argparser/Arg.java +++ b/src/jalview/bin/argparser/Arg.java @@ -197,7 +197,8 @@ public enum Arg "Move on to a new alignment window. This will ensure --append will start a new alignment window and other linked arguments will apply to the new alignment window.", Opt.UNARY, Opt.MULTI, Opt.NOACTION, Opt.INCREMENTDEFAULTCOUNTER), SUBSTITUTIONS(Type.FLOW, - "The following argument values allow (or don't allow) subsituting filename parts. This is initially true. Valid substitutions are {basename} - the filename-without-extension of the currently --opened file (or first --appended file),\n" + "The following argument values allow (or don't allow) subsituting filename parts. This is initially true. Valid substitutions are:\n" + + "{basename} - the filename-without-extension of the currently --opened file (or first --appended file),\n" + "{dirname} - the directory (folder) name of the currently --opened file (or first --appended file),\n" + "{argfilebasename} - the filename-without-extension of the current --argfile,\n" + "{argfiledirname} - the directory (folder) name of the current --argfile,\n"