From 38943c1e94e8b29732be2aeef55b274de181296c Mon Sep 17 00:00:00 2001 From: Philip Eisenlohr Date: Sun, 29 Mar 2015 15:37:40 +0000 Subject: [PATCH] improved help --- processing/post/rotateData.py | 6 +++--- processing/post/scaleData.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/processing/post/rotateData.py b/processing/post/rotateData.py index 88160073b..6b3d2357c 100755 --- a/processing/post/rotateData.py +++ b/processing/post/rotateData.py @@ -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 = '', 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 = '', 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') diff --git a/processing/post/scaleData.py b/processing/post/scaleData.py index 18b2c8e47..dfc881f51 100755 --- a/processing/post/scaleData.py +++ b/processing/post/scaleData.py @@ -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)