From 19a9409009c6ef4eff9342c5aa291acaa09dccd2 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Wed, 7 Aug 2013 10:52:05 +0200 Subject: [PATCH] fio2gnuplot: Adding getoplong support for cmdline Help message was misleading since long options were not supported.... This patch adds all the long options to be supported. --- tools/plot/fio2gnuplot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/plot/fio2gnuplot.py b/tools/plot/fio2gnuplot.py index caae9e54..6032e4b5 100755 --- 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)" -- 2.25.1