fio2gnuplot: Fixing typo in error message
[fio.git] / tools / plot / fio2gnuplot.py
index caae9e5471ba84b7c1c68a4a9412b40262764220..b2530e0a0dbdf5ad9ba5f2ede4de95dc4ef03453 100755 (executable)
@@ -383,9 +383,9 @@ 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 "Error: One of the option passed to the cmdline was not supported"
         print "Please fix your command line or read the help (-h option)"
          sys.exit(2)