From: abv Date: Tue, 29 Aug 2017 03:59:28 +0000 (+0300) Subject: 0029004: DRAW - update help of chrono and dchrono commands X-Git-Tag: V7_2_0~14 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=7d3225b51abd63b092d151fc13ad04b169490a74;p=occt.git 0029004: DRAW - update help of chrono and dchrono commands Help of DRAW commands chrono and dchrono is updated according to changes made within #27691 --- diff --git a/src/Draw/Draw_BasicCommands.cxx b/src/Draw/Draw_BasicCommands.cxx index 3257b9cf73..a5ed03d845 100644 --- a/src/Draw/Draw_BasicCommands.cxx +++ b/src/Draw/Draw_BasicCommands.cxx @@ -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",