Commit c88a47b4 authored by Vincent Pelletier's avatar Vincent Pelletier

Document that "-" is supported for stdin in logfile argument.

parent 38518d35
...@@ -933,7 +933,7 @@ def main(): ...@@ -933,7 +933,7 @@ def main():
parser = argparse.ArgumentParser(description='Compute Apdex out of ' parser = argparse.ArgumentParser(description='Compute Apdex out of '
'apache-style log files') 'apache-style log files')
parser.add_argument('logfile', nargs='*', parser.add_argument('logfile', nargs='*',
help='Log files to process') help='Log files to process. Use - for stdin.')
parser.add_argument('-l', '--logformat', parser.add_argument('-l', '--logformat',
default='%h %l %u %t "%r" %>s %O "%{Referer}i" "%{User-Agent}i" %D', default='%h %l %u %t "%r" %>s %O "%{Referer}i" "%{User-Agent}i" %D',
help='Apache LogFormat used to generate provided logs. ' help='Apache LogFormat used to generate provided logs. '
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment