From: Erwan Velu Date: Wed, 7 Aug 2013 12:32:50 +0000 (+0200) Subject: fio2gnuplot: Fixing help message X-Git-Tag: fio-2.1.3~18 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=f2a32ce41b360faf2df3ed58eb1e1287c3d554ff fio2gnuplot: Fixing help message Adding missing features & fix indent --- 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'