From f2a32ce41b360faf2df3ed58eb1e1287c3d554ff Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Wed, 7 Aug 2013 14:32:50 +0200 Subject: [PATCH] fio2gnuplot: Fixing help message Adding missing features & fix indent --- tools/plot/fio2gnuplot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/plot/fio2gnuplot.py b/tools/plot/fio2gnuplot.py index 5e4feed3..31fc219f 100755 --- a/tools/plot/fio2gnuplot.py +++ b/tools/plot/fio2gnuplot.py @@ -358,7 +358,7 @@ def render_gnuplot(fio_data_file, gnuplot_output_dir): sys.exit(1); def print_help(): - print 'fio2gnuplot.py -ghbiod -t -o <outputfile> -p <pattern> -G <type> -m <time> -M <time>' + print 'fio2gnuplot.py -ghbiodvk -t <title> -o <outputfile> -p <pattern> -G <type> -m <time> -M <time>' print print '-h --help : Print this help' print '-p <pattern> or --pattern <pattern> : A pattern in regexp to select fio input files' @@ -370,12 +370,13 @@ def print_help(): print '-d or --outputdir <dir> : The directory where gnuplot shall render files' print '-t or --title <title> : The title of the gnuplot traces' print ' - Title is set with the block size detected in fio traces' - print '-G or --Global <type> : Search for <type> in .global files match by a pattern' + print '-G or --Global <type> : Search for <type> in .global files match by a pattern' print ' - Available types are : min, max, avg, stddev' print ' - The .global extension is added automatically to the pattern' print '-m or --min_time <time> : Only consider data starting from <time> seconds (default is 0)' print '-M or --max_time <time> : Only consider data ending before <time> seconds (default is -1 aka nolimit)' print '-v or --verbose : Increasing verbosity' + print '-k or --keep : Keep all temporary files from gnuplot\'s output dir' def main(argv): mode='unknown' -- 2.25.1