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

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


The following commit(s) were added to refs/heads/NLPCRAFT-170 by this push:
     new 24d50ee  Update NCCli.scala
24d50ee is described below

commit 24d50ee1bf26642409073f26b463f61bd7bd2740
Author: Aaron Radzinski <[email protected]>
AuthorDate: Sat Dec 12 21:42:15 2020 -0800

    Update NCCli.scala
---
 .../main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala  | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git 
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
index eb4d1c5..dff88d2 100644
--- 
a/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
+++ 
b/nlpcraft/src/main/scala/org/apache/nlpcraft/model/tools/cmdline/NCCli.scala
@@ -714,9 +714,9 @@ object NCCli extends App {
         Command(
             name = "signout",
             group = "2. REST Commands",
-            synopsis = s"Wrapper for ${c("'/signout'")} REST call.",
+            synopsis = s"Wrapper for ${c("'/signout'")} REST call in REPL 
mode.",
             desc = Some(
-                s"Signs out currently signed in user."
+                s"Signs out currently signed in user. Note that this command 
makes sense only in REPL mode."
             ),
             body = cmdSignOut,
             examples = Seq(
@@ -2787,7 +2787,7 @@ object NCCli extends App {
                        |""".stripMargin
                 )
 
-            case Some(_) ⇒ error(s"Already signed in. See ${c("'signout'")} 
command.")
+            case Some(_) ⇒ warn(s"Already signed in. See ${c("'signout'")} 
command.")
         }
 
     /**

Reply via email to