# 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"
# 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',
# 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)
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',
# 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.'), "")
# 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.'), "")
# 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):
# 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
# 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',
# 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):
# 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