You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nlpcraft.apache.org by ar...@apache.org on 2020/12/17 21:08:51 UTC

[incubator-nlpcraft] 02/02: Update NCCliCommands.scala

This is an automated email from the ASF dual-hosted git repository.

aradzinski pushed a commit to branch NLPCRAFT-194
in repository https://gitbox.apache.org/repos/asf/incubator-nlpcraft.git

commit 4e310e4a1211ab0154b339b26fc8d1360eac39ac
Author: Aaron Radzinski <ar...@datalingvo.com>
AuthorDate: Thu Dec 17 13:08:35 2020 -0800

    Update NCCliCommands.scala
---
 .../apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala
index 2935e8e..9ccdce8 100644
--- a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala
+++ b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCliCommands.scala
@@ -630,8 +630,8 @@ private [cmdline] object NCCliCommands {
                     value = Some("<jvm flags>"),
                     optional = true,
                     desc =
-                        s"Space separated list of JVM flags to use. If not provided, the default ${y("'-ea -Xms2048m -XX:+UseG1GC'")} flags " +
-                        s"will be used."
+                        s"Space separated quoted string of JVM flags to use. If not provided, the " +
+                        s"default ${y("'-ea -Xms2048m -XX:+UseG1GC'")} flags will be used."
                 ),
                 Parameter(
                     id = "noWait",
@@ -710,8 +710,8 @@ private [cmdline] object NCCliCommands {
                     value = Some("<jvm flags>"),
                     optional = true,
                     desc =
-                        s"Space separated list of JVM flags to use. If not provided, the default ${y("'-ea -Xms1024m'")} flags " +
-                        s"will be used."
+                        s"Space separated quoted string of JVM flags to use. If not provided, the " +
+                        s"default ${y("'-ea -Xms1024m'")} flags will be used."
                 ),
                 Parameter(
                     id = "noWait",
@@ -787,6 +787,7 @@ private [cmdline] object NCCliCommands {
                     id = "models",
                     names = Seq("--models", "-m"),
                     value = Some("<model list>"),
+                    optional = true,
                     desc =
                         s"Comma separated list of fully qualified class names for models to test. NOTE: if you provide " +
                         s"the list of your own models here - you must also provide the additional classpath " +
@@ -798,8 +799,8 @@ private [cmdline] object NCCliCommands {
                     value = Some("<jvm flags>"),
                     optional = true,
                     desc =
-                        s"Space separated list of JVM flags to use. If not provided, the default ${y("'-ea -Xms1024m'")} flags " +
-                        s"will be used."
+                        s"Space separated quoted string of JVM flags to use. If not provided, the " +
+                        s"default ${y("'-ea -Xms1024m'")} flags will be used."
                 )
             ),
             examples = Seq(