projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a4f574
)
fio2gnuplot: Adding getoplong support for cmdline
author
Erwan Velu
<erwan@enovance.com>
Wed, 7 Aug 2013 08:52:05 +0000
(10:52 +0200)
committer
Erwan Velu
<erwan@enovance.com>
Wed, 7 Aug 2013 08:52:05 +0000
(10:52 +0200)
Help message was misleading since long options were not supported....
This patch adds all the long options to be supported.
tools/plot/fio2gnuplot.py
patch
|
blob
|
blame
|
history
diff --git
a/tools/plot/fio2gnuplot.py
b/tools/plot/fio2gnuplot.py
index caae9e5471ba84b7c1c68a4a9412b40262764220..6032e4b55ab40ce8ab0bef36fc865cd3d72c4be0 100755
(executable)
--- a/
tools/plot/fio2gnuplot.py
+++ b/
tools/plot/fio2gnuplot.py
@@
-383,7
+383,7
@@
def main(argv):
sys.exit(3)
try:
- opts, args = getopt.getopt(argv[1:],"ghbio:d:t:p:G:m:M:")
+ opts, args = getopt.getopt(argv[1:],"ghbio:d:t:p:G:m:M:"
,['bandwidth', 'iops', 'pattern', 'outputfile', 'outputdir', 'title', 'min_time', 'max_time', 'gnuplot', 'Global', 'help']
)
except getopt.GetoptError:
print "Error: One of the option passed to the cmdline was supported"
print "Please fix your command line or read the help (-h option)"