Skip to content

Commit

Permalink
fio2gnuplot: Fixing help message
Browse files Browse the repository at this point in the history
Adding missing features & fix indent
  • Loading branch information
Erwan Velu committed Aug 7, 2013
1 parent 2fa2338 commit f2a32ce
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tools/plot/fio2gnuplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ def render_gnuplot(fio_data_file, gnuplot_output_dir):
sys.exit(1);

def print_help():
print 'fio2gnuplot.py -ghbiod -t <title> -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'
Expand All @@ -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'
Expand Down

0 comments on commit f2a32ce

Please sign in to comment.