From: Cédric Aguerre Date: Wed, 26 Nov 2014 14:45:03 +0000 (+0100) Subject: update usage info X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=75aea16fb5aaf1bd40c8d71b66013eda25a7f22f;p=modules%2Fyacs.git update usage info --- diff --git a/bin/appliskel/runSalomeScript b/bin/appliskel/runSalomeScript index 5b005d587..bba7beda0 100755 --- a/bin/appliskel/runSalomeScript +++ b/bin/appliskel/runSalomeScript @@ -22,6 +22,13 @@ # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com # +############################################### +############### IMPORTANT NOTE ################ +############################################### +# The runSalomeScript script is obsolete. # +# Please consider the new salome launcher. # +############################################### + import os,sys,optparse import socket,shutil import re diff --git a/bin/salomeContext.py b/bin/salomeContext.py index cb5800693..51e0c51a9 100644 --- a/bin/salomeContext.py +++ b/bin/salomeContext.py @@ -36,19 +36,31 @@ def usage(): #exeName = os.path.splitext(os.path.basename(__file__))[0] msg = '''\ -Usage: salome [command] [options] [--config=file1,...,filen] +Usage: salome [command] [options] [--config=] Commands: - start Launches SALOME virtual application [DEFAULT] - shell Executes a script under SALOME application environment +========= + start Starts a SALOME session (through virtual application) + shell Initializes SALOME environment, and executes scripts passed + as command arguments connect Connects a Python console to the active SALOME session - killall Kill all SALOME running sessions + killall Kill all SALOME running sessions for current user info Display some information about SALOME help Show this message - coffee Yes! SALOME can also make coffee!!" + coffee Yes! SALOME can also make coffee!! -Use salome start --help or salome shell --help -to show help on start and shell commands. +If no command is given, default to start. + +Command options: +================ + Use salome --help to show help on command ; available for start + and shell commands. + +--config= +========================== + Initialize SALOME environment from a list of context files and/or a list + of folders containing context files. The list is comma-separated, whithout + any blank characters. ''' print msg