Salome HOME
Implementation of the project notion, remove all pyconf regardings the products from...
[tools/sat.git] / commands / job.py
index d8a10a09e53dd2c2a4e065180689ec4b7439f8be..8d1a63b90f265791db8817da501567d4439df9ff 100644 (file)
@@ -25,7 +25,7 @@ parser = src.options.Options()
 parser.add_option('j', 'jobs_config', 'string', 'jobs_cfg', 
                   _('The name of the config file that contains'
                   ' the jobs configuration'))
-parser.add_option('', 'job', 'string', 'job',
+parser.add_option('', 'name', 'string', 'job',
     _('The job name from which to execute commands.'), "")
 
 def description():
@@ -123,9 +123,9 @@ def run(args, runner, logger):
         logger.flush()
         # Execute the command
         code = sat_command(end_cmd,
-                                     batch = True,
-                                     verbose = 0,
-                                     logger_add_link = logger)
+                           batch = True,
+                           verbose = 0,
+                           logger_add_link = logger)
         # Print the status of the command
         if code == 0:
             nb_pass += 1