X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=commands%2Fgenerate.py;h=c60a22b1e825b4c9089a56d82f3499d5f97a56f7;hb=91ec70410b35d3c5539c308c2303599f2f79797b;hp=d0e3cf4668af7d54cf00e73b41f31c665b707c4d;hpb=c4e054afd81228a895d6bccc5d25f61cd4c46592;p=tools%2Fsat.git diff --git a/commands/generate.py b/commands/generate.py index d0e3cf4..c60a22b 100644 --- a/commands/generate.py +++ b/commands/generate.py @@ -26,9 +26,9 @@ import src parser = src.options.Options() parser.add_option('p', 'products', 'list2', 'products', - _("the list of products to generate")) + _("Optional: the list of products to generate")) parser.add_option('', 'yacsgen', 'string', 'yacsgen', - _("path to YACSGEN's module_generator package")) + _("Optional: path to YACSGEN's module_generator package")) def generate_component_list(config, product_info, context, logger): res = "?" @@ -79,7 +79,7 @@ def generate_component(config, compo, product_info, context, header, logger): builder.header = header # generate the component - # create GENERETE dir if necessary + # create GENERATE dir if necessary if not os.path.exists(generate_dir): os.mkdir(generate_dir) @@ -301,7 +301,8 @@ def description(): :rtype: str ''' return _("The generate command generates SALOME modules from 'pure cpp' " - "products.\nWARNING this command NEEDS YACSGEN to run!") + "products.\nWARNING this command NEEDS YACSGEN to run!\n\nexample:" + "\nsat generate SALOME-master --products FLICACPP") def run(args, runner, logger):