# ignite-gg-9830 Minor fix.

Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/366b3321
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/366b3321
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/366b3321

Branch: refs/heads/ignite-831
Commit: 366b33213a513e986d436251bd77a442ad3ea8eb
Parents: 394ec9a
Author: Andrey <anovi...@gridgain.com>
Authored: Tue Apr 28 15:24:03 2015 +0700
Committer: Andrey <anovi...@gridgain.com>
Committed: Tue Apr 28 15:24:03 2015 +0700

----------------------------------------------------------------------
 .../visor/commands/events/VisorEventsCommand.scala    | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/366b3321/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/events/VisorEventsCommand.scala
----------------------------------------------------------------------
diff --git 
a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/events/VisorEventsCommand.scala
 
b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/events/VisorEventsCommand.scala
index c96c8ac..e4d2968 100644
--- 
a/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/events/VisorEventsCommand.scala
+++ 
b/modules/visor-console/src/main/scala/org/apache/ignite/visor/commands/events/VisorEventsCommand.scala
@@ -380,7 +380,7 @@ object VisorEventsCommand {
     private val cmd = new VisorEventsCommand
 
     addHelp(
-        name = cmd.name,
+        name = "events",
         shortInfo = "Print events from a node.",
         longInfo = List(
             "Print events from a node.",
@@ -396,8 +396,8 @@ object VisorEventsCommand {
             "events on each node. Both of these defaults can be changed in 
configuration."
         ),
         spec = List(
-            cmd.name,
-            s"${cmd.name} {-id=<node-id>|-id8=<node-id8>} 
{-e=<ch,de,di,jo,ta,ca,cr,sw>}",
+            "events",
+            "events {-id=<node-id>|-id8=<node-id8>} 
{-e=<ch,de,di,jo,ta,ca,cr,sw>}",
             "    {-t=<num>s|m|h|d} {-s=e|t} {-r} {-c=<n>}"
         ),
         args = List(
@@ -446,13 +446,13 @@ object VisorEventsCommand {
             )
         ),
         examples = List(
-            s"${cmd.name} -id8=12345678" ->
+            "events -id8=12345678" ->
                 "Queries all events from node with '12345678' id8.",
-            s"${cmd.name} -id8=@n0" ->
+            "events -id8=@n0" ->
                 "Queries all events from node with id8 taken from 'n0' memory 
variable.",
-            s"${cmd.name} -id8=12345678 -e=di,ca" ->
+            "events -id8=12345678 -e=di,ca" ->
                 "Queries discovery and cache events from node with '12345678' 
ID8.",
-            cmd.name ->
+            "events" ->
                 "Starts command in interactive mode."
         ),
         emptyArgs = cmd.events,

Reply via email to