Salome HOME
Improve help of each command
[tools/sat.git] / commands / launcher.py
index 537aecbabaf0df364eca0df3de68ed307272893c..3367535aa604b85f01d8997276477dfdb9cba4ed 100644 (file)
@@ -27,12 +27,13 @@ import src
 \r
 parser = src.options.Options()\r
 \r
-parser.add_option('n', 'name', 'string', 'name', _('The name of the launcher '\r
-                            '(default is APPLICATION.profile.launcher_name)'))\r
+parser.add_option('n', 'name', 'string', 'name', _('Optional: The name of the'\r
+                            ' launcher (default is '\r
+                            'APPLICATION.profile.launcher_name)'))\r
 parser.add_option('c', 'catalog', 'string', 'catalog',\r
-    _('The resources catalog to use'))\r
+    _('Optional: The resources catalog to use'))\r
 parser.add_option('', 'gencat', 'string', 'gencat',\r
-    _("Create a resources catalog for the specified machines "\r
+    _("Optional: Create a resources catalog for the specified machines "\r
       "(separated with ',') \n\tNOTICE: this command will ssh to retrieve"\r
       " information to each machine in the list"))\r
 \r
@@ -349,7 +350,8 @@ def finish_profile_install(config, launcherPath):
 ##\r
 # Describes the command\r
 def description():\r
-    return _("The launcher command generates a salome launcher.")\r
+    return _("The launcher command generates a SALOME launcher.\n\nexample:"\r
+             "\nsat launcher SALOME-master")\r
 \r
 ##\r
 # Runs the command.\r