]> OCCT Git - occt.git/commitdiff
0029004: DRAW - update help of chrono and dchrono commands
authorabv <abv@opencascade.com>
Tue, 29 Aug 2017 03:59:28 +0000 (06:59 +0300)
committerbugmaster <bugmaster@opencascade.com>
Wed, 30 Aug 2017 10:52:31 +0000 (13:52 +0300)
Help of DRAW commands chrono and dchrono is updated according to changes made within #27691

src/Draw/Draw_BasicCommands.cxx

index 3257b9cf733951159fda240539b5dc1038f8f80b..a5ed03d8453ba4ce35471015740a1bf194c108fa 100644 (file)
@@ -943,9 +943,11 @@ void Draw::BasicCommands(Draw_Interpretor& theCommands)
                  __FILE__,Draw_wait,g);
   theCommands.Add("cpulimit","cpulimit [nbseconds], no args remove limits",
                  __FILE__,cpulimit,g);
-  theCommands.Add("chrono","chrono [ name start/stop/reset/show]",
+  theCommands.Add("chrono","chrono [name action [action...]] \n  Operates named timer.\n"
+                           "  Supported actions: reset, start, stop, restart, show, counter [text].\n"
+                           "  Without arguments enables / disables global timer for all DRAW commands.",
                  __FILE__,chronom,g);
-  theCommands.Add("dchrono","dchrono [ name start/stop/reset/show]",
+  theCommands.Add("dchrono","see help of chrono command",
                  __FILE__,dchronom,g);
   theCommands.Add("mallochook",
                   "debug memory allocation/deallocation, w/o args for help",