]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
fix -h on --products and --info
authorChristian Van Wambeke <christian.van-wambeke@cea.fr>
Fri, 26 Oct 2018 07:31:38 +0000 (09:31 +0200)
committerChristian Van Wambeke <christian.van-wambeke@cea.fr>
Fri, 26 Oct 2018 07:31:38 +0000 (09:31 +0200)
commands/check.py
commands/clean.py
commands/compile.py
commands/config.py
commands/configure.py
commands/make.py
commands/makeinstall.py
commands/patch.py
commands/prepare.py
commands/script.py
commands/source.py

index d4c78b2903c04dce9e64e1e486df1aeb3662ec33..a5eeadc3133a7d7a83e0a0b24b2aa12695d7c6ea 100644 (file)
@@ -23,8 +23,7 @@ import src
 # Define all possible option for the check command :  sat check <options>
 parser = src.options.Options()
 parser.add_option('p', 'products', 'list2', 'products',
-    _('Optional: products to check. This option can be'
-    ' passed several time to check several products.'))
+    _('Optional: products to check. This option accepts a comma separated list.'))
 
 CHECK_PROPERTY = "has_unit_tests"
 
index 3204c0f45042e875ca03a22da76ce615dd94f50f..1077297675980897a07e8c4cccf78ab6358fa329 100644 (file)
@@ -31,8 +31,7 @@ except NameError:
 # Define all possible option for the clean command :  sat clean <options>
 parser = src.options.Options()
 parser.add_option('p', 'products', 'list2', 'products',
-    _('Optional: Products to clean. This option can be'
-    ' passed several time to clean several products.'))
+    _('Optional: Products to clean. This option accepts a comma separated list.'))
 parser.add_option('s', 'sources', 'boolean', 'sources',
     _("Optional: Clean the product source directories."))
 parser.add_option('b', 'build', 'boolean', 'build', 
index 1a80f40cd1bb0c5d243f2a2396251fe8593fe33a..67209bb53a27173698db382bfbc76885ebfc4fc8 100644 (file)
@@ -32,8 +32,7 @@ except NameError:
 # Define all possible option for the compile command :  sat compile <options>
 parser = src.options.Options()
 parser.add_option('p', 'products', 'list2', 'products',
-    _('Optional: products to compile. This option can be'
-    ' passed several time to compile several products.'))
+    _('Optional: products to compile. This option accepts a comma separated list.'))
 parser.add_option('', 'with_fathers', 'boolean', 'fathers',
     _("Optional: build all necessary products to the given product (KERNEL is "
       "build before building GUI)."), False)
index b5a3fbe76bc538cdc2e4437ce37b21aaf1337698..748a11bf262c2496e311cb02e1fb68258368239d 100644 (file)
@@ -39,7 +39,7 @@ parser.add_option('g', 'debug', 'string', 'debug',
 parser.add_option('e', 'edit', 'boolean', 'edit',
     _("Optional: edit the product configuration file."))
 parser.add_option('i', 'info', 'list2', 'info',
-    _("Optional: get information on a product."))
+    _("Optional: get information on product(s). This option accepts a comma separated list."))
 parser.add_option('l', 'list', 'boolean', 'list',
     _("Optional: list all available applications."))
 parser.add_option('', 'show_patchs', 'boolean', 'show_patchs',
index 688fff02a8e943169f679b1e8336093a4523c765..2bf068b83dd97f1d0296d83879431c25c66664ac 100644 (file)
@@ -23,8 +23,7 @@ import src
 # Define all possible option for configure command :  sat configure <options>
 parser = src.options.Options()
 parser.add_option('p', 'products', 'list2', 'products',
-    _('Optional: products to configure. This option can be'
-    ' passed several time to configure several products.'))
+    _('Optional: products to configure. This option accepts a comma separated list.'))
 parser.add_option('o', 'option', 'string', 'option',
     _('Optional: Option to add to the configure or cmake command.'), "")
 
index 6682f813a1c1e7d3d31a4ccc292e5f778b45d961..b3e6aaf54829f54df7b6589d1f1dccae38adbd12 100644 (file)
@@ -24,8 +24,7 @@ import src
 # Define all possible option for the make command :  sat make <options>
 parser = src.options.Options()
 parser.add_option('p', 'products', 'list2', 'products',
-    _('Optional: products to configure. This option can be'
-    ' passed several time to configure several products.'))
+    _('Optional: products to configure. This option accepts a comma separated list.'))
 parser.add_option('o', 'option', 'string', 'option',
     _('Optional: Option to add to the make command.'), "")
 
index ff13382d5e6a96002ce4ddae003f9466b43641eb..8a2a07a186093c48e9a6e782ee7aba4ac55ec7e8 100644 (file)
@@ -23,8 +23,7 @@ import src
 # Define all possible option for the makeinstall command : sat makeinstall <options>
 parser = src.options.Options()
 parser.add_option('p', 'products', 'list2', 'products',
-    _('Optional: products to install. This option can be'
-    ' passed several time to install several products.'))
+    _('Optional: products to install. This option accepts a comma separated list.'))
 
 
 def log_step(logger, header, step):
index ac106dfa1212e78c3bacaa81590b625c113b6667..ec438655fd61df9be55ada8452628d251ee8fc97 100644 (file)
@@ -26,8 +26,7 @@ import prepare
 # Define all possible option for patch command :  sat patch <options>
 parser = src.options.Options()
 parser.add_option('p', 'products', 'list2', 'products',
-    _('Optional: products to get the sources. This option can be'
-    ' passed several time to get the sources of several products.'))
+    _('Optional: products to get the sources. This option accepts a comma separated list.'))
 
 def apply_patch(config, product_info, max_product_name_len, logger):
     '''The method called to apply patches on a product
index cb630e5f904385f7a88f506a79fd802baac35168..b182a1b118834e121623fa4708798b93d9414124 100644 (file)
@@ -27,8 +27,7 @@ import src.debug as DBG
 # Define all possible option for prepare command :  sat prepare <options>
 parser = src.options.Options()
 parser.add_option('p', 'products', 'list2', 'products',
-    _('Optional: products to prepare. This option can be'
-    ' passed several time to prepare several products.'))
+    _('Optional: products to prepare. This option accepts a comma separated list.'))
 parser.add_option('f', 'force', 'boolean', 'force',
     _("Optional: force to prepare the products in development mode."))
 parser.add_option('', 'force_patch', 'boolean', 'force_patch', 
index bd2ee408435280b1fd7fb3aa75757f8a7dde9767..1593a0e771cf8dbfffba8cc4130de34f2a9f944e 100644 (file)
@@ -23,13 +23,11 @@ import src
 # Define all possible option for the script command :  sat script <options>
 parser = src.options.Options()
 parser.add_option('p', 'products', 'list2', 'products',
-    _('Optional: products to configure. This option can be'
-    ' passed several time to configure several products.'))
+    _('Optional: products to configure. This option accepts a comma separated list.'))
 parser.add_option('', 'nb_proc', 'int', 'nb_proc',
-    _('Optional: The number of processors to use in the script if the make '
-      'command is used in it.\n\tWarning: the script has to be correctly written '
-      'if you want this option to work.\n\tThe $MAKE_OPTIONS has to be '
-      'used.'), 0)
+    _("""Optional: The number of processors to use in the script if the make command is used in it.
+      Warning: the script has to be correctly written if you want this option to work.
+      The $MAKE_OPTIONS has to be used."""), 0)
 
 
 def log_step(logger, header, step):
index ee8de553f5fb595b1e01fc6c994c7590605eaf82..7b2131e583ed4e7789e3f8b3ee06576d19abd708 100644 (file)
@@ -27,8 +27,7 @@ import src.debug as DBG
 # Define all possible option for patch command :  sat patch <options>
 parser = src.options.Options()
 parser.add_option('p', 'products', 'list2', 'products',
-    _('Optional: products from which to get the sources. This option can be'
-    ' passed several time to get the sources of several products.'))
+    _('Optional: products from which to get the sources. This option accepts a comma separated list.'))
 
 def get_source_for_dev(config, product_info, source_dir, logger, pad):
     '''The method called if the product is in development mode