X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkInterpreter.cxx;h=09954ef4fe723b386243bcfb143ffb6a9b9a7211;hb=d73a7833a28e6111e1e805efae5df3ab18a240e2;hp=6d7b994a1e35193a47a5448d1ba6b1a57d36b283;hpb=b284bae4a4e8e20c766b348f01bb4b5d5bead96f;p=bbtk.git diff --git a/kernel/src/bbtkInterpreter.cxx b/kernel/src/bbtkInterpreter.cxx index 6d7b994..09954ef 100644 --- a/kernel/src/bbtkInterpreter.cxx +++ b/kernel/src/bbtkInterpreter.cxx @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkInterpreter.cxx,v $ $ Language: C++ - Date: $Date: 2008/02/05 09:38:31 $ - Version: $Revision: 1.21 $ + Date: $Date: 2008/02/05 11:39:32 $ + Version: $Revision: 1.23 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -167,8 +167,8 @@ Interpreter* Interpreter::mGlobalInterpreter = NULL; info.argmin = 0; info.argmax = 2; info.code = cIndex; - info.syntax = "index [ ['Initials'(default)|'Packages'|'Keywords']]"; - info.help = "Creates an html index of known boxes. If filename is provided then save it to the file 'filename'. The default index entries are the initial letters of the names of the boxes. If 'Packages' or 'Keywords' is provided then the entries are either the package names or the keywords"; + info.syntax = "index [ ['Initials'(default)|'Packages'|'Categories']]"; + info.help = "Creates an html index of known boxes. If filename is provided then save it to the file 'filename'. The default index entries are the initial letters of the names of the boxes. If 'Packages' or 'Categories' is provided then the entries are either the packages names or the categories"; mCommandDict[info.keyword] = info; info.keyword = "reset"; //EED @@ -216,9 +216,8 @@ Interpreter* Interpreter::mGlobalInterpreter = NULL; info.argmin = 0; info.argmax = 2; info.code = cMessage; - info.syntax = "message "; - info.help = "Sets the level of the category of messages to .\n If category='All' then sets the level for all categories. If no category nor level is passed then prints info on available categories of messages and their current level."; - mCommandDict[info.keyword] = info; + info.syntax = "message "; + info.help = "Sets the level of the kind of messages to .\n If kind='All' then sets the level for all kinds. If no kind nor level is passed then prints info on available kinds of messages and their current level."; mCommandDict[info.keyword] = info; info.keyword = "include"; info.argmin = 1; @@ -1555,7 +1554,7 @@ void Interpreter::Index(const std::string& filename, { Factory::IndexEntryType t; if (type=="Initials") t = Factory::Initials; - else if (type=="Keywords") t = Factory::Keywords; + else if (type=="Categories") t = Factory::Categories; else if (type=="Packages") t = Factory::Packages; GetGlobalFactory()->CreateHtmlIndex(t,filename);