Browse files

More command line description on run_benchmark.py

  • Loading branch information...
1 parent 0c53960 commit 8820e2fce6b134425d189eee92ee53098a647ca1 @tkf committed Nov 22, 2012
Showing with 6 additions and 2 deletions.
  1. +6 −2 benchmark/run_benchmark.py
View
8 benchmark/run_benchmark.py
@@ -29,8 +29,12 @@
def main(args=None):
- from argparse import ArgumentParser
- parser = ArgumentParser(description=__doc__)
+ import argparse
+ parser = argparse.ArgumentParser(
+ formatter_class=argparse.RawDescriptionHelpFormatter,
+ description=__doc__
+ + "For more information, see the docstring of `BenchmarkRunner`:\n"
+ + BenchmarkRunner.__doc__)
parser.add_argument(
'--run-option', default='eod',
help="one of {'eod', 'all', 'last', integer}")

0 comments on commit 8820e2f

Please sign in to comment.