added $Id$ login name escaping
This commit is contained in:
parent
164da22730
commit
10493ea8b0
|
@ -164,15 +164,20 @@ def servoLink():
|
|||
|
||||
# ----------------------- MAIN -------------------------------
|
||||
|
||||
parser = OptionParser()
|
||||
parser = OptionParser(usage='%prog [options]', description = """
|
||||
Set up servo linking to achieve periodic boundary conditions for a regular hexahedral mesh presently opened in MSC.Mentat
|
||||
|
||||
""" + string.replace('$Id: spectral_iterationCount 919 2011-06-15 18:14:05Z MPIE\p.eisenlohr $','\n','\\n')
|
||||
)
|
||||
|
||||
parser.add_option("-p", "--port", type="int",\
|
||||
dest="port",\
|
||||
help="Mentat connection port [%default]")
|
||||
dest="port",\
|
||||
help="Mentat connection port [%default]")
|
||||
parser.add_option("-v", "--verbose", action="store_true",\
|
||||
dest="verbose",\
|
||||
help="write Mentat command stream also to stdout [%default]")
|
||||
parser.set_defaults(port=40007)
|
||||
parser.set_defaults(verbose=False)
|
||||
dest="verbose",\
|
||||
help="write Mentat command stream also to stdout [%default]")
|
||||
parser.set_defaults(port = 40007)
|
||||
parser.set_defaults(verbose = False)
|
||||
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
|
|
|
@ -233,8 +233,8 @@ Acceptable formats are
|
|||
geom: header plus list of grain numbers or
|
||||
spectral: phi1,Phi,phi2,x,y,z,id,phase.
|
||||
|
||||
$Id$
|
||||
""")
|
||||
""" + string.replace('$Id$','\n','\\n')
|
||||
)
|
||||
parser.add_option("-p", "--port", type="int",\
|
||||
dest="port",\
|
||||
help="Mentat connection port")
|
||||
|
|
|
@ -99,8 +99,8 @@ mapping = {
|
|||
parser = OptionParser(option_class=extendedOption, usage='%prog geomfile[s]', description = """
|
||||
Produce VTK point file from geom data
|
||||
|
||||
$Id$
|
||||
""")
|
||||
""" + string.replace('$Id$','\n','\\n')
|
||||
)
|
||||
|
||||
(options, args) = parser.parse_args()
|
||||
|
||||
|
|
Loading…
Reference in New Issue