improved help

This commit is contained in:
Philip Eisenlohr 2015-03-29 15:37:40 +00:00
parent e0f1132a17
commit 38943c1e94
2 changed files with 4 additions and 4 deletions

View File

@ -15,13 +15,13 @@ scriptName = os.path.splitext(scriptID.split()[1])[0]
# --------------------------------------------------------------------
parser = OptionParser(option_class=damask.extendableOption, usage='%prog options [file[s]]', description = """
Uniformly scale values of scalar, vector, or tensor columns by given factor.
Rotate vector and/or tensor column data by given angle around given axis.
""", version = scriptID)
parser.add_option('-v','--vector', dest = 'vector', action = 'extend', metavar = 'string',
parser.add_option('-v','--vector', dest = 'vector', action = 'extend', metavar = '<string LIST>',
help = 'column heading of vector to rotate')
parser.add_option('-t','--tensor', dest = 'tensor', action = 'extend', metavar = 'string',
parser.add_option('-t','--tensor', dest = 'tensor', action = 'extend', metavar = '<string LIST>',
help = 'column heading of tensor to rotate')
parser.add_option('-r', '--rotation',dest = 'rotation', type = 'float', nargs = 4, metavar = ' '.join(['float']*4),
help = 'angle and axis to rotate data %default')

View File

@ -15,7 +15,7 @@ scriptName = os.path.splitext(scriptID.split()[1])[0]
# --------------------------------------------------------------------
parser = OptionParser(option_class=damask.extendableOption, usage='%prog options [file[s]]', description = """
Uniformly scale values scalar/special, vector, or tensor columns by given factor.
Uniformly scale values in scalar/special, vector, or tensor columns by given factor.
""", version = scriptID)